Example #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);
         }
     }
 }