summaryrefslogtreecommitdiff
path: root/src/maths/primitives.c
diff options
context:
space:
mode:
authorOmni <omniscient.oce@gmail.com>2024-06-23 18:18:35 +1000
committerOmni <omniscient.oce@gmail.com>2024-06-23 18:18:35 +1000
commit41a9e6d84e442cadbf1825c38bb97c516873ad5a (patch)
treecf63931f3ea7fb4fa418313bd5e587f87cd2889b /src/maths/primitives.c
parent0cbc42e89dcdeb47aaa63bb21b5fb911768ea4df (diff)
change view with keypress
Diffstat (limited to 'src/maths/primitives.c')
-rw-r--r--src/maths/primitives.c6
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,