summaryrefslogtreecommitdiff
path: root/src/physics.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/physics.h')
-rw-r--r--src/physics.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/physics.h b/src/physics.h
index 3485d1b..134f08b 100644
--- a/src/physics.h
+++ b/src/physics.h
@@ -29,16 +29,16 @@ void physics_system_update(physics_world* phys_world, f64 deltatime);
/** @brief Oriented Bounding Box */
typedef struct OBB {
- Vec3 center;
- Bbox_3D bbox;
- Quat rotation;
+ Vec3 center;
+ Bbox_3D bbox;
+ Quat rotation;
} OBB;
PUB void Debug_DrawOBB(OBB obb);
/** @brief generic collider structure */
typedef struct Collider {
- u64 id; // ? Replace with handle?
- OBB shape; // NOTE: We're only supporting the one collider type for now
+ u64 id; // ? Replace with handle?
+ OBB shape; // NOTE: We're only supporting the one collider type for now
bool on_ground;
} Collider;