ASE: Delete Camera default constructor

pull/1745/head
Turo Lamminen 2018-01-27 18:29:29 +02:00
parent 7fef5e6d23
commit 2d1bd1eec4
1 changed files with 2 additions and 9 deletions

View File

@ -390,15 +390,8 @@ struct Camera : public BaseNode
TARGET TARGET
}; };
//! Constructor //! Default constructor has been deleted
Camera() Camera() = delete;
: BaseNode (BaseNode::Camera)
, mFOV (0.75f) // in radians
, mNear (0.1f)
, mFar (1000.f) // could be zero
, mCameraType (FREE)
{
}
//! Construction from an existing name //! Construction from an existing name