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); }
internal void Box(float3 Size, float3 Center, quaternion Orientation, Unity.DebugDisplay.ColorIndex color) { Unity.DebugDisplay.Box.Draw(Size, Center, Orientation, color); }
internal void Cone(float3 point, float3 axis, float angle, Unity.DebugDisplay.ColorIndex color) { Unity.DebugDisplay.Cone.Draw(point, axis, angle, color); }
internal void Arc(float3 center, float3 normal, float3 arm, float angle, Unity.DebugDisplay.ColorIndex color) { Unity.DebugDisplay.Arc.Draw(center, normal, arm, angle, color); }
internal void Plane(float3 x, float3 v, Unity.DebugDisplay.ColorIndex color) { Unity.DebugDisplay.Plane.Draw(x, v, color); }
internal void Arrow(float3 x, float3 v, Unity.DebugDisplay.ColorIndex color) { Unity.DebugDisplay.Arrow.Draw(x, v, color); }
internal void Line(float3 x0, float3 x1, Unity.DebugDisplay.ColorIndex color) { Unity.DebugDisplay.Line.Draw(x0, x1, color); }