From 13949ca02bcf9fcdfcc48ea7949f617553a260b6 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Tue, 13 Aug 2024 17:25:13 +1000 Subject: allow UV tiling for plane geometry --- src/render/immdraw.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render/immdraw.c') diff --git a/src/render/immdraw.c b/src/render/immdraw.c index a097f90..c2589c3 100644 --- a/src/render/immdraw.c +++ b/src/render/immdraw.c @@ -22,7 +22,7 @@ void Immdraw_Init(Immdraw_Storage* storage) { Geometry cube_geo = Geo_CreateCuboid(f32x3(1.0, 1.0, 1.0)); storage->cube = Mesh_Create(&cube_geo, true); - Geometry plane_geo = Geo_CreatePlane(f32x2(1.0, 1.0)); + Geometry plane_geo = Geo_CreatePlane(f32x2(1.0, 1.0), 1, 1); storage->plane = Mesh_Create(&plane_geo, true); storage->bbox = GenBboxMesh(); -- cgit v1.2.3-70-g09d2