summaryrefslogtreecommitdiff
path: root/src/maths/primitives.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-06-12 00:16:51 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-06-12 00:16:51 +1000
commit26fb1fcafa552c600a70b2680c868f7355b138e4 (patch)
tree2fb77c8b14a5610584a316e57fd8db2795847a0f /src/maths/primitives.h
parent76216f91aee936bc57d7e1a1b2c2b63a03ce976a (diff)
wip: uvsphere mesh gen and pbr shader first pass
Diffstat (limited to 'src/maths/primitives.h')
-rw-r--r--src/maths/primitives.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/maths/primitives.h b/src/maths/primitives.h
index 3e0cc5f..be2c6ff 100644
--- a/src/maths/primitives.h
+++ b/src/maths/primitives.h
@@ -9,5 +9,5 @@
geometry_data geo_create_plane(f32x2 extents);
geometry_data geo_create_cuboid(f32x3 extents);
geometry_data geo_create_cylinder(f32 radius, f32 height, u32 resolution);
-geometry_data geo_create_uvsphere(f32 radius, f32 north_south_lines, f32 east_west_lines);
+geometry_data geo_create_uvsphere(f32 radius, u32 north_south_lines, u32 east_west_lines);
geometry_data geo_create_icosphere(f32 radius, f32 n_subdivisions); \ No newline at end of file