From 41a9e6d84e442cadbf1825c38bb97c516873ad5a Mon Sep 17 00:00:00 2001 From: Omni Date: Sun, 23 Jun 2024 18:18:35 +1000 Subject: change view with keypress --- src/maths/primitives.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/maths/primitives.c') 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, -- cgit v1.2.3-70-g09d2