public override void Move(T objct, Matrix translation) { object bounding; Node n; if (objectToNode.TryGetValue(objct, out n)) { bounding = n.objct_to_boundings[objct]; } else { bounding = nonfittableObjects[objct]; } Move(objct, Boundings.Transform(bounding, translation)); }
public override void Move(T objct, Matrix translation) { entities[objct] = Boundings.Transform(entities[objct], translation); }