summaryrefslogtreecommitdiff
path: root/src/maths/geometry.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/maths/geometry.h')
-rw-r--r--src/maths/geometry.h12
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;