From d52654dfdbe16345023fed4c61261dc4c66b96fe Mon Sep 17 00:00:00 2001 From: Omniscient Date: Sat, 15 Jun 2024 22:20:15 +1000 Subject: trying to figure out uniform structs.. --- src/maths/primitives.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/maths/primitives.c') diff --git a/src/maths/primitives.c b/src/maths/primitives.c index 86f9261..86855db 100644 --- a/src/maths/primitives.c +++ b/src/maths/primitives.c @@ -234,6 +234,11 @@ geometry_data geo_create_uvsphere(f32 radius, u32 north_south_lines, u32 east_we } } + for (int i = 0; i < vertices->len; i++) { + + print_vec3(vertices->data[i].static_3d.normal); + } + geometry_data geo = { .format = VERTEX_STATIC_3D, .vertices = vertices, -- cgit v1.2.3-70-g09d2