src/glRenderer.h

changeset 1123
15e46ea3151f
parent 1119
749fdf61b5cd
child 1129
2b20261dc511
--- a/src/glRenderer.h	Fri Feb 10 23:06:24 2017 +0200
+++ b/src/glRenderer.h	Sun Feb 12 16:02:02 2017 +0200
@@ -44,18 +44,19 @@
 	bool negatedDepth; // is greater depth value closer to camera?
 };
 
-enum Camera
+enum class Camera
 {
-	TopCamera,
-	FrontCamera,
-	LeftCamera,
-	BottomCamera,
-	BackCamera,
-	RightCamera,
-	FreeCamera,
+	Top,
+	Front,
+	Left,
+	Bottom,
+	Back,
+	Right,
+	Free,
+	_End
 };
 
-MAKE_ITERABLE_ENUM(Camera, TopCamera, FreeCamera)
+MAKE_ITERABLE_ENUM(Camera)
 
 struct CameraIcon
 {
@@ -177,7 +178,7 @@
 	GLuint m_axesColorVbo;
 
 	void calcCameraIcons();
-	void drawVbos (SurfaceVboType surface, ComplementVboType colors, GLenum type);
+	void drawVbos (VboClass surface, VboSubclass colors, GLenum type);
 	void zoomToFit();
 	void zoomAllToFit();
 

mercurial