rust/hwphysics/src/collision.rs
changeset 15287 478d5372eb4a
parent 15279 42b710b0f883
child 15385 6e3e5be8b2e2
--- a/rust/hwphysics/src/collision.rs	Tue Jul 30 19:53:23 2019 +0300
+++ b/rust/hwphysics/src/collision.rs	Tue Jul 30 22:59:06 2019 +0300
@@ -3,11 +3,10 @@
 use crate::{
     common::{GearData, GearDataProcessor, GearId},
     grid::Grid,
-    physics::PhysicsData,
 };
 
 use fpnum::*;
-use integral_geometry::{GridIndex, Point, Size};
+use integral_geometry::{Point, Size};
 use land2d::Land2D;
 
 pub fn fppoint_round(point: &FPPoint) -> Point {
@@ -151,4 +150,8 @@
     fn remove(&mut self, gear_id: GearId) {
         self.grid.remove(gear_id);
     }
+
+    fn get(&mut self, gear_id: GearId) -> Option<CollisionData> {
+        None
+    }
 }