mirror of
https://github.com/overte-org/overte.git
synced 2025-04-14 18:06:57 +02:00
Camera: Init default values.
This commit is contained in:
parent
3d51b10bcb
commit
43d56eed85
1 changed files with 2 additions and 2 deletions
|
@ -267,11 +267,11 @@ private:
|
||||||
|
|
||||||
CameraMode _mode{ CAMERA_MODE_LOOK_AT };
|
CameraMode _mode{ CAMERA_MODE_LOOK_AT };
|
||||||
glm::mat4 _transform;
|
glm::mat4 _transform;
|
||||||
glm::mat4 _projection;
|
glm::mat4 _projection = glm::mat4(1.f);
|
||||||
|
|
||||||
// derived
|
// derived
|
||||||
glm::vec3 _position { 0.0f, 0.0f, 0.0f };
|
glm::vec3 _position { 0.0f, 0.0f, 0.0f };
|
||||||
glm::quat _orientation;
|
glm::quat _orientation { 1.f, 0.f, 0.f, 0.f };
|
||||||
bool _isKeepLookingAt{ false };
|
bool _isKeepLookingAt{ false };
|
||||||
glm::vec3 _lookingAt;
|
glm::vec3 _lookingAt;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue