예제 #1
0
 public static void AddDebugLine(Point3D a, Point3D b)
 {
     if (DebugLines != null)
     {
         DebugLines.AddLine(a, b);
     }
 }
예제 #2
0
파일: Shape.cs 프로젝트: wibble82/mmbot
 public void BuildScreenSpaceLines(SafeScreenSpaceLines3D lines)
 {
     Clean();
     foreach (Edge e in Convexes.SelectMany(a => a.Edges))
     {
         lines.AddLine(e.Vertices[0].Pos, e.Vertices[1].Pos);
     }
 }
예제 #3
0
 public void BuildScreenSpaceLines(SafeScreenSpaceLines3D lines)
 {
     Clean();
     foreach (Edge e in Convexes.SelectMany(a => a.Edges))
     {
         lines.AddLine(e.Vertices[0].Pos, e.Vertices[1].Pos);
     }
 }