diff options
Diffstat (limited to 'src/collision.h')
-rw-r--r-- | src/collision.h | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/src/collision.h b/src/collision.h deleted file mode 100644 index 4ac9ec3..0000000 --- a/src/collision.h +++ /dev/null @@ -1,20 +0,0 @@ -#pragma once -#include "geometry.h" - -enum ColliderType { - CuboidCollider, - SphereCollider, -}; - -/** @brief generic collider structure */ -typedef struct Collider { - u64 id; // ? Replace with handle? - enum ColliderType shape; - union collider_data { - Cuboid cuboid; - Sphere sphere; - } geometry; - Transform transform; - u8 layer; - bool on_ground; -} Collider; |