예제 #1
0
 public override void Draw(SceneGame scene, DrawPass pass)
 {
     foreach (var segment in Segments)
     {
         scene.DrawWireCircle(segment.Position, segment.Width, 20, Color.White);
         foreach (var leg in segment.Legs)
         {
             scene.DrawWireCircle(leg.Position, 2, 20, Color.White);
             scene.DrawWireLine(new[] { segment.Position, leg.GetIKJoint(), leg.Position }, Color.White);
         }
     }
 }
예제 #2
0
 public override void Draw(SceneGame scene, DrawPass pass)
 {
     scene.DrawHuman(this);
     scene.DrawWireCircle(Position, 16, 20, Color.Red);
 }