Skip to content
Snippets Groups Projects
Commit 945f2bed authored by Turo Lamminen's avatar Turo Lamminen
Browse files

ASE: Add Camera constructor which takes name

parent 039ca385
No related branches found
No related tags found
No related merge requests found
......@@ -400,6 +400,18 @@ struct Camera : public BaseNode
{
}
//! Construction from an existing name
explicit Camera(const std::string &name)
: BaseNode (BaseNode::Camera, name)
, mFOV (0.75f) // in radians
, mNear (0.1f)
, mFar (1000.f) // could be zero
, mCameraType (FREE)
{
}
ai_real mFOV, mNear, mFar;
CameraType mCameraType;
};
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment