diff options
author | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-12 12:47:07 +1000 |
---|---|---|
committer | omnisci3nce <omniscient.oce@gmail.com> | 2024-07-12 12:47:07 +1000 |
commit | f74cf52946f4e569a26bc81105537b40be95c2c7 (patch) | |
tree | 1d000367350d0e28eb7cfbc800286a0ed30a4e6c /src/maths/geometry.h | |
parent | fedba7ff68924ff50022405fc9103a5acf7013fe (diff) |
wip: big makeover
Diffstat (limited to 'src/maths/geometry.h')
-rw-r--r-- | src/maths/geometry.h | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/src/maths/geometry.h b/src/maths/geometry.h index 937c38a..0df80fc 100644 --- a/src/maths/geometry.h +++ b/src/maths/geometry.h @@ -11,31 +11,31 @@ #include "maths.h" -typedef struct line_3d { - vec3 start, end; -} line_3d; +// typedef struct line_3d { +// vec3 start, end; +// } line_3d; -typedef struct plane { - vec3 normal; -} plane; +// typedef struct plane { +// 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; - f32 half_height; -} cylinder; +// typedef struct cylinder { +// f32 radius; +// f32 half_height; +// } cylinder; -typedef struct cone { - f32 radius; - f32 half_height; -} cone; +// typedef struct cone { +// f32 radius; +// f32 half_height; +// } cone; // TODO: // capsule @@ -47,4 +47,4 @@ typedef struct cone { // 2d... // line -// circle
\ No newline at end of file +// circle |