From 26fb1fcafa552c600a70b2680c868f7355b138e4 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Wed, 12 Jun 2024 00:16:51 +1000 Subject: wip: uvsphere mesh gen and pbr shader first pass --- src/maths/primitives.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/maths/primitives.h') 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 -- cgit v1.2.3-70-g09d2