summaryrefslogtreecommitdiff
path: root/src/maths/primitives.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-13 17:25:13 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-13 17:25:13 +1000
commit13949ca02bcf9fcdfcc48ea7949f617553a260b6 (patch)
tree28361375cc637c8442db3c79d274eaca0f4fbf00 /src/maths/primitives.h
parent87a8749049d74cc8aa3f0cacf0b896640dc53763 (diff)
allow UV tiling for plane geometry
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 f7b390d..bcf71c8 100644
--- a/src/maths/primitives.h
+++ b/src/maths/primitives.h
@@ -6,7 +6,7 @@
#include "maths_types.h"
#include "render_types.h"
-Geometry Geo_CreatePlane(f32x2 extents);
+Geometry Geo_CreatePlane(f32x2 extents, u32 tiling_u, u32 tiling_v);
Geometry Geo_CreateCuboid(f32x3 extents);
Geometry Geo_CreateCylinder(f32 radius, f32 height, u32 resolution);
Geometry Geo_CreateUVsphere(f32 radius, u32 north_south_lines, u32 east_west_lines);