CNCMaps.Engine.Rendering.VxlRenderer.DrawAxes C# (CSharp) Method

DrawAxes() private static method

private static DrawAxes ( ) : void
return void
        private static void DrawAxes()
        {
            // draw x,y,z axis
            GL.PushMatrix();
            GL.Scale(1000f, 1000f, 1000f);
            GL.LineWidth(5);
            GL.Color3(Color.Red);
            GL.Begin(BeginMode.Lines);
            GL.Vertex3(-100, 0, 0);
            GL.Vertex3(100, 0, 0);
            GL.End();
            GL.Color3(Color.Green);
            GL.Begin(BeginMode.Lines);
            GL.Vertex3(0, -100, 0);
            GL.Vertex3(0, 100, 0);
            GL.End();
            GL.Color3(Color.White);
            GL.Begin(BeginMode.Lines);
            GL.Vertex3(0, 0, -100);
            GL.Vertex3(0, 0, 100);
            GL.End();
            GL.PopMatrix();
        }