Scoped enums.

This commit is contained in:
Leonardo Zide
2020-04-18 19:45:21 -07:00
parent a5c2e617d5
commit 5a76f4c870
6 changed files with 25 additions and 25 deletions
+2 -2
View File
@@ -16,7 +16,7 @@
#define LC_CAMERA_SAVE_VERSION 7 // LeoCAD 0.80
lcCamera::lcCamera(bool Simple)
: lcObject(LC_OBJECT_CAMERA)
: lcObject(lcObjectType::Camera)
{
Initialize();
@@ -37,7 +37,7 @@ lcCamera::lcCamera(bool Simple)
}
lcCamera::lcCamera(float ex, float ey, float ez, float tx, float ty, float tz)
: lcObject(LC_OBJECT_CAMERA)
: lcObject(lcObjectType::Camera)
{
// Fix the up vector
lcVector3 UpVector(0, 0, 1), FrontVector(ex - tx, ey - ty, ez - tz), SideVector;