Beispiel #1
0
        private void RenderZArrow(float s)
        {
            Gl.glColor3f(0.0f, 0, 1.0f);

            Gl.glPushMatrix();
            Gl.glTranslatef(0, 0, s);
            Util3D.DrawConeDisplayList(s / 20, s / 8, Util3D.RenderStyle.Solid);
            Gl.glPopMatrix();
        }
Beispiel #2
0
        private void RenderXArrow(float s)
        {
            Gl.glColor3f(1, 0, 0);

            Gl.glPushMatrix();
            Gl.glTranslatef(s, 0, 0);
            Gl.glRotatef(90, 0, 1, 0);
            Util3D.DrawConeDisplayList(s / 20, s / 8, Util3D.RenderStyle.Solid);
            Gl.glPopMatrix();
        }