summaryrefslogtreecommitdiff
path: root/src/maths/primitives.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/maths/primitives.c')
-rw-r--r--src/maths/primitives.c5
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,