mirror of
https://github.com/lubosz/overte.git
synced 2025-04-09 20:24:03 +02:00
Camera: Init default values.
This commit is contained in:
parent
c3595dc672
commit
ca083aee9f
1 changed files with 2 additions and 2 deletions
|
@ -267,11 +267,11 @@ private:
|
|||
|
||||
CameraMode _mode{ CAMERA_MODE_LOOK_AT };
|
||||
glm::mat4 _transform;
|
||||
glm::mat4 _projection;
|
||||
glm::mat4 _projection = glm::mat4(1.f);
|
||||
|
||||
// derived
|
||||
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 };
|
||||
glm::vec3 _lookingAt;
|
||||
|
||||
|
|
Loading…
Reference in a new issue