summaryrefslogtreecommitdiff
path: root/src/physics/collision.h
diff options
context:
space:
mode:
authoromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-11 23:00:26 +1000
committeromniscient <17525998+omnisci3nce@users.noreply.github.com>2024-08-11 23:00:26 +1000
commitb03bde3d412148cd573f5f14012cdd270f309947 (patch)
tree848af582079a60787cc5a5f8138e7ca6d508f2ee /src/physics/collision.h
parent48a703e52490cb52fd32e54e3e37f7e70462a267 (diff)
starting work on immediate mode drawing
Diffstat (limited to 'src/physics/collision.h')
-rw-r--r--src/physics/collision.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/src/physics/collision.h b/src/physics/collision.h
deleted file mode 100644
index cca6042..0000000
--- a/src/physics/collision.h
+++ /dev/null
@@ -1,30 +0,0 @@
-/**
- * @file collision.h
- * @author your name (you@domain.com)
- * @brief
- * @version 0.1
- * @date 2024-05-12
- *
- * @copyright Copyright (c) 2024
- *
- */
-#pragma once
-#include "geometry.h"
-
-enum collider_type {
- cuboid_collider,
- sphere_collider,
-};
-
-/** @brief generic collider structure */
-typedef struct physics_collider {
- u64 id; // ? Replace with handle?
- enum collider_type shape;
- union collider_data {
- cuboid cuboid;
- sphere sphere;
- } geometry;
- transform transform;
- u8 layer;
- bool on_ground;
-} physics_collider; \ No newline at end of file