summaryrefslogtreecommitdiff
path: root/src/collision.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-12 00:15:33 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-12 00:15:33 +1000
commit72b8d26fcfcee36ca67f963b9c6a4b616e2d5d4d (patch)
tree76ab2c18db5a834c6282ab4e2afa2db33f70be27 /src/collision.h
parenta8f98ddcf5ddeb3588492f4ad8f9a289147ad7ec (diff)
scale is a vec3 now instead of float.
Diffstat (limited to 'src/collision.h')
-rw-r--r--src/collision.h20
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;