Exemple #1
0
        protected override void DrawPrimitive(eLevelofDetail lod, UWB_DrawHelper drawHelper)
        {
            eLevelofDetail oldLod = drawHelper.getLod();

            drawHelper.setLod(lod);
            drawHelper.drawCircle(mCenter, mRadius);
            drawHelper.setLod(oldLod);
        }
 protected override void DrawPrimitive(eLevelofDetail lod, UWB_DrawHelper drawHelper)
 {
     Vector3 origin = new Vector3();
     Vector3 xaxis = new Vector3(m_size, 0, 0);
     Vector3 yaxis = new Vector3(0, m_size, 0);
     Vector3 zaxis = new Vector3(0, 0, m_size);
     eLevelofDetail oldLod = drawHelper.getLod();
     drawHelper.setLod(lod);
     drawHelper.setColor1(Color.Red);
     drawHelper.drawLine(origin, xaxis);
     drawHelper.setColor1(Color.Green);
     drawHelper.drawLine(origin, yaxis);
     drawHelper.setColor1(Color.Blue);
     drawHelper.drawLine(origin, zaxis);
     drawHelper.setLod(oldLod);
 }
Exemple #3
0
        protected override void DrawPrimitive(eLevelofDetail lod, UWB_DrawHelper drawHelper)
        {
            Vector3        origin = new Vector3();
            Vector3        xaxis  = new Vector3(m_size, 0, 0);
            Vector3        yaxis  = new Vector3(0, m_size, 0);
            Vector3        zaxis  = new Vector3(0, 0, m_size);
            eLevelofDetail oldLod = drawHelper.getLod();

            drawHelper.setLod(lod);
            drawHelper.setColor1(Color.Red);
            drawHelper.drawLine(origin, xaxis);
            drawHelper.setColor1(Color.Green);
            drawHelper.drawLine(origin, yaxis);
            drawHelper.setColor1(Color.Blue);
            drawHelper.drawLine(origin, zaxis);
            drawHelper.setLod(oldLod);
        }
 protected override void DrawPrimitive(eLevelofDetail lod, UWB_DrawHelper drawHelper)
 {
     eLevelofDetail oldLod = drawHelper.getLod();
     drawHelper.setLod(lod);
     drawHelper.drawCircle(mCenter, mRadius);
     drawHelper.setLod(oldLod);
 }