From b03bde3d412148cd573f5f14012cdd270f309947 Mon Sep 17 00:00:00 2001 From: omniscient <17525998+omnisci3nce@users.noreply.github.com> Date: Sun, 11 Aug 2024 23:00:26 +1000 Subject: starting work on immediate mode drawing --- src/maths/geometry.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/maths/geometry.h') diff --git a/src/maths/geometry.h b/src/maths/geometry.h index 0df80fc..532651c 100644 --- a/src/maths/geometry.h +++ b/src/maths/geometry.h @@ -19,13 +19,13 @@ // vec3 normal; // } plane; -// typedef struct cuboid { -// vec3 half_extents; -// } cuboid; +typedef struct Cuboid { + Vec3 half_extents; +} Cuboid; -// typedef struct sphere { -// f32 radius; -// } sphere; +typedef struct Sphere { + f32 radius; +} Sphere; // typedef struct cylinder { // f32 radius; -- cgit v1.2.3-70-g09d2