summaryrefslogtreecommitdiff
path: root/src/render/immdraw.c
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/render/immdraw.c
parent87a8749049d74cc8aa3f0cacf0b896640dc53763 (diff)
allow UV tiling for plane geometry
Diffstat (limited to 'src/render/immdraw.c')
-rw-r--r--src/render/immdraw.c2
1 files changed, 1 insertions, 1 deletions
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();