rust/hwphysics/src/grid.rs
changeset 15279 42b710b0f883
parent 15278 bfd185ad03e7
equal deleted inserted replaced
15278:bfd185ad03e7 15279:42b710b0f883
    69         let bin = self.lookup_bin(&bounds.center);
    69         let bin = self.lookup_bin(&bounds.center);
    70         bin.dynamic_refs.push(gear_id);
    70         bin.dynamic_refs.push(gear_id);
    71         bin.dynamic_entries.push(*bounds);
    71         bin.dynamic_entries.push(*bounds);
    72     }
    72     }
    73 
    73 
       
    74     pub fn remove(&mut self, gear_id: GearId) {}
       
    75 
    74     pub fn update_position(
    76     pub fn update_position(
    75         &mut self,
    77         &mut self,
    76         gear_id: GearId,
    78         gear_id: GearId,
    77         old_position: &FPPoint,
    79         old_position: &FPPoint,
    78         new_position: &FPPoint,
    80         new_position: &FPPoint,