commit db29340653e01a5b64d9e8bb9c60f57dbc3c2ddd
parent 11ac5d2ac14ee19a984624f7f7af8d2478c6ad8a
Author: Christophe Coustet <christophe.coustet@meso-star.com>
Date: Mon, 24 Sep 2018 19:01:08 +0200
Change the drawing of the cube used for tests to use a direct system
Diffstat:
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/src/test_senc_utils.h b/src/test_senc_utils.h
@@ -52,13 +52,13 @@ STATIC_ASSERT(sizeof(box_vertices) == sizeof(cube_vertices),
/* The following array lists the indices toward the 3D vertices of each
* triangle.
- * ,6---,7 ,6----7
- * ,' | ,'/| ,' | \ | Y Z
- * 2----3' / | 2', | \ | | ,'
- * |', | / ,5 | ',4---,5 0----X
- * | ',|/,' | ,' | ,'
- * 0----1' 0----1'
- * Front, right Back, left and
+ * ,2---,3 ,2----3
+ * ,' | ,'/| ,'/| \ |
+ * 6----7' / | 6' / | \ | Y
+ * |', | / ,1 | / ,0---,1 |
+ * | ',|/,' |/,' | ,' o--X
+ * 4----5' 4----5' /
+ * Front, right Back, left and Z
* and Top faces bottom faces */
static const unsigned
box_indices[12/*#triangles*/*3/*#indices per triangle*/] = {