public void ScaleTo(Atom.Math.Vector2 factor) { var desc = this.FixtureDescription as IScaleable; if (desc != null) { desc.ScaleTo(factor); this.Generate(); } }
public bool IntersectsAt(Atom.Math.Vector2 point) { var p = point.ToXna(); for (int i = 0; i < this.fixtures.Count; ++i) { if (fixtures[i].TestPoint(ref p)) { return(true); } } return(false); }