diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-10-26 21:55:23 +1100 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-10-26 21:55:23 +1100 |
commit | 43bee361397315c7105b7214316325b185135331 (patch) | |
tree | b339f728b4cd6f37b37912b62c8d0af75dc9551d /archive/src/maths/geometry.h | |
parent | 24573518c3320673eb87d6d659522d77e05cb75c (diff) |
move archive into /src
Diffstat (limited to 'archive/src/maths/geometry.h')
-rw-r--r-- | archive/src/maths/geometry.h | 50 |
1 files changed, 0 insertions, 50 deletions
diff --git a/archive/src/maths/geometry.h b/archive/src/maths/geometry.h deleted file mode 100644 index 532651c..0000000 --- a/archive/src/maths/geometry.h +++ /dev/null @@ -1,50 +0,0 @@ -/** - * @file geometry.h - * @author your name (you@domain.com) - * @brief Shapes and intersections between them - * @version 0.1 - * @date 2024-02-24 - * - * @copyright Copyright (c) 2024 - */ -#pragma once - -#include "maths.h" - -// typedef struct line_3d { -// vec3 start, end; -// } line_3d; - -// typedef struct plane { -// vec3 normal; -// } plane; - -typedef struct Cuboid { - Vec3 half_extents; -} Cuboid; - -typedef struct Sphere { - f32 radius; -} Sphere; - -// typedef struct cylinder { -// f32 radius; -// f32 half_height; -// } cylinder; - -// typedef struct cone { -// f32 radius; -// f32 half_height; -// } cone; - -// TODO: -// capsule -// torus -// ray -// frustum -// conical frustum -// wedge - -// 2d... -// line -// circle |