diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-08-11 23:00:26 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-08-11 23:00:26 +1000 |
commit | b03bde3d412148cd573f5f14012cdd270f309947 (patch) | |
tree | 848af582079a60787cc5a5f8138e7ca6d508f2ee /src/maths/geometry.h | |
parent | 48a703e52490cb52fd32e54e3e37f7e70462a267 (diff) |
starting work on immediate mode drawing
Diffstat (limited to 'src/maths/geometry.h')
-rw-r--r-- | src/maths/geometry.h | 12 |
1 files changed, 6 insertions, 6 deletions
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; |