techkaczynski.dev / code

summaryrefslogtreecommitdiff
path: root/physics.h
diff options
context:
space:
mode:
authortech kaczynski <tk@techkaczynski.dev>2026-11-04 05:56:35 +1000
committertech kaczynski <tk@techkaczynski.dev>2026-11-04 05:56:35 +1000
commitea84213ece95e3ef8ff7f0095cee73ee6bdd0f9a (patch)
tree32a502e72438ba0c6b6fa00dbd9dbdf3603fe7e3 /physics.h
parente5560f69e11051a85c1d54780a59a4fbd83d8ed9 (diff)
added convex hull and trimesh colliders. Fixed physics edit mode bugs. Added debug drawing for all supported collision types.
Diffstat (limited to 'physics.h')
-rw-r--r--physics.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/physics.h b/physics.h
index 5a9a8d0..3fde638 100644
--- a/physics.h
+++ b/physics.h
@@ -141,6 +141,7 @@ typedef struct {
u64 entity_id;
b3BodyId id;
b3ShapeId *shapes; // count is stored in PhysicsCmp
+ b3MeshData **meshes; // same count, null for non mesh types
} PhysicsBodyRuntime;
typedef struct {