Beispiel #1
0
        public void DrawPose(DebugViewXNA debugDraw, Color color, float scale)
        {
            Vector2 pos = Car.GetCenterPosition(this);

            debugDraw.DrawBox(Car.HALF_CAR_LENGTH * scale, Car.HALF_CAR_WIDTH * scale, pos, Orientation, color);
        }
Beispiel #2
0
 public void DrawPose(DebugViewXNA debugDraw, Color color, float scale)
 {
     Vector2 pos = Car.GetCenterPosition(this);
     debugDraw.DrawBox(Car.HALF_CAR_LENGTH * scale, Car.HALF_CAR_WIDTH * scale, pos, Orientation, color);
 }