From cf9063bffc708b26a5c991abe86474685282b128 Mon Sep 17 00:00:00 2001 From: Quaternions Date: Wed, 1 Nov 2023 18:31:23 -0700 Subject: [PATCH] PhysicsModels idea --- src/physics.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/physics.rs b/src/physics.rs index c7fe4ca..0d56b0e 100644 --- a/src/physics.rs +++ b/src/physics.rs @@ -158,6 +158,10 @@ impl Default for Modes{ struct PhysicsModels{ meshes:Vec, models:Vec, + //separate models into Contacting and Intersecting? + //wrap model id with ContactingModelId and IntersectingModelId + //attributes can be split into contacting and intersecting (this also saves a bit of memory) + //can go even further and deduplicate General attributes separately, reconstructing it when queried attributes:Vec, model_id_from_wormhole_id:std::collections::HashMap::, }