diff options
Diffstat (limited to 'src/maths/primitives.c')
-rw-r--r-- | src/maths/primitives.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/maths/primitives.c b/src/maths/primitives.c index ce467ab..753dd83 100644 --- a/src/maths/primitives.c +++ b/src/maths/primitives.c @@ -46,8 +46,10 @@ geometry_data geo_create_plane(f32x2 extents) { VERT_3D(vertices, vert_pos[2], VEC3_Y, vec2(0, 1)); VERT_3D(vertices, vert_pos[3], VEC3_Y, vec2(1, 1)); - push_triangle(indices, 0, 1, 2); - push_triangle(indices, 2, 1, 3); + /* push_triangle(indices, 0, 1, 2); */ + /* push_triangle(indices, 2, 1, 3); */ + push_triangle(indices, 2, 1, 0); + push_triangle(indices, 3, 1, 2); geometry_data geo = { .format = VERTEX_STATIC_3D, .vertices = vertices, |