Beispiel #1
0
        internal void Point(float3 x, float size, Unity.DebugDisplay.ColorIndex color)
        {
            var lines = new Unity.DebugDisplay.Lines(3);

            lines.Draw(x - new float3(size, 0, 0), x + new float3(size, 0, 0), color);
            lines.Draw(x - new float3(0, size, 0), x + new float3(0, size, 0), color);
            lines.Draw(x - new float3(0, 0, size), x + new float3(0, 0, size), color);
        }
 internal static void Draw(float3 begin, float3 end, ColorIndex color)
 {
     new Lines(1).Draw(begin, end, color);
 }
Beispiel #3
0
 internal void Box(float3 Size, float3 Center, quaternion Orientation, Unity.DebugDisplay.ColorIndex color)
 {
     Unity.DebugDisplay.Box.Draw(Size, Center, Orientation, color);
 }
Beispiel #4
0
 internal void Cone(float3 point, float3 axis, float angle, Unity.DebugDisplay.ColorIndex color)
 {
     Unity.DebugDisplay.Cone.Draw(point, axis, angle, color);
 }
Beispiel #5
0
 internal void Arc(float3 center, float3 normal, float3 arm, float angle, Unity.DebugDisplay.ColorIndex color)
 {
     Unity.DebugDisplay.Arc.Draw(center, normal, arm, angle, color);
 }
Beispiel #6
0
 internal void Plane(float3 x, float3 v, Unity.DebugDisplay.ColorIndex color)
 {
     Unity.DebugDisplay.Plane.Draw(x, v, color);
 }
Beispiel #7
0
 internal void Arrow(float3 x, float3 v, Unity.DebugDisplay.ColorIndex color)
 {
     Unity.DebugDisplay.Arrow.Draw(x, v, color);
 }
Beispiel #8
0
 internal void Line(float3 x0, float3 x1, Unity.DebugDisplay.ColorIndex color)
 {
     Unity.DebugDisplay.Line.Draw(x0, x1, color);
 }