예제 #1
0
파일: Terrain.cs 프로젝트: siupa/AIGame
 public void ToggleDrawingTechnique()
 {
     if (currentTechnique == DrawingTechnique.Texture)
     {
         currentTechnique = DrawingTechnique.TextureAndWireframe;
     }
     else if (currentTechnique == DrawingTechnique.TextureAndWireframe)
     {
         currentTechnique = DrawingTechnique.Wireframe;
     }
     else if (currentTechnique == DrawingTechnique.Wireframe)
     {
         currentTechnique = DrawingTechnique.Texture;
     }
 }
예제 #2
0
파일: Terrain.cs 프로젝트: siupa/AIGame
 public void ToggleDrawingTechnique()
 {
     if (currentTechnique == DrawingTechnique.Texture)
         currentTechnique = DrawingTechnique.TextureAndWireframe;
     else if (currentTechnique == DrawingTechnique.TextureAndWireframe)
         currentTechnique = DrawingTechnique.Wireframe;
     else if (currentTechnique == DrawingTechnique.Wireframe)
         currentTechnique = DrawingTechnique.Texture;
 }