diff options
author | Omniscient <omniscient.oce@gmail.com> | 2024-06-15 22:20:15 +1000 |
---|---|---|
committer | Omniscient <omniscient.oce@gmail.com> | 2024-06-15 22:20:15 +1000 |
commit | d52654dfdbe16345023fed4c61261dc4c66b96fe (patch) | |
tree | 49b9dc298ec8d01533c13c909d827f96192551a1 /src/maths/primitives.c | |
parent | b3b19f081231c7c13322c7b0d577afb6084d48df (diff) |
trying to figure out uniform structs..
Diffstat (limited to 'src/maths/primitives.c')
-rw-r--r-- | src/maths/primitives.c | 5 |
1 files changed, 5 insertions, 0 deletions
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, |