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; } }
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; }