diff options
author | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-08-13 20:29:27 +1000 |
---|---|---|
committer | omniscient <17525998+omnisci3nce@users.noreply.github.com> | 2024-08-13 20:29:27 +1000 |
commit | 567d384b698151e287e31140709c93f1b92e6db4 (patch) | |
tree | e00975124d3f002a8aaa22e85475d913c6950346 /src/physics.h | |
parent | 13949ca02bcf9fcdfcc48ea7949f617553a260b6 (diff) |
loading joints and animations
Diffstat (limited to 'src/physics.h')
-rw-r--r-- | src/physics.h | 10 |
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; |