rust/hwphysics/src/physics.rs
changeset 15270 7446258fab98
parent 15266 b58f98bbc120
child 15274 42b710b0f883
equal deleted inserted replaced
15269:96fbf9bb960a 15270:7446258fab98
   108     }
   108     }
   109 }
   109 }
   110 
   110 
   111 impl PhysicsProcessor {
   111 impl PhysicsProcessor {
   112     pub fn new() -> Self {
   112     pub fn new() -> Self {
   113         PhysicsProcessor {
   113         Self {
   114             dynamic_physics: DynamicPhysicsCollection::new(),
   114             dynamic_physics: DynamicPhysicsCollection::new(),
   115             static_physics: StaticPhysicsCollection::new(),
   115             static_physics: StaticPhysicsCollection::new(),
   116             physics_cleanup: Vec::new(),
   116             physics_cleanup: Vec::new(),
   117             position_updates: PositionUpdates::new(0),
   117             position_updates: PositionUpdates::new(0),
   118         }
   118         }