equal
deleted
inserted
replaced
145 |
145 |
146 impl GearDataProcessor<CollisionData> for CollisionProcessor { |
146 impl GearDataProcessor<CollisionData> for CollisionProcessor { |
147 fn add(&mut self, gear_id: GearId, gear_data: CollisionData) { |
147 fn add(&mut self, gear_id: GearId, gear_data: CollisionData) { |
148 self.grid.insert_static(gear_id, &gear_data.bounds); |
148 self.grid.insert_static(gear_id, &gear_data.bounds); |
149 } |
149 } |
|
150 |
|
151 fn remove(&mut self, gear_id: GearId) { |
|
152 self.grid.remove(gear_id); |
|
153 } |
150 } |
154 } |