--- 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
+ }
}