Пример #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);
        }
Пример #2
0
 internal Planes(int count)
 {
     m_Lines = new Lines(count * 9);
 }
Пример #3
0
 internal Arrows(int count)
 {
     m_Lines = new Lines(count * 5);
 }
Пример #4
0
 internal Cones(int count)
 {
     m_Lines = new Lines(count * res * 2);
 }
Пример #5
0
 internal Boxes(int count)
 {
     m_Lines = new Lines(count * 12);
 }
Пример #6
0
 internal Arcs(int count)
 {
     m_Lines = new Lines(count * (2 + res));
 }