mirror of
https://github.com/lubosz/overte.git
synced 2025-04-23 19:34:02 +02:00
clean up unused lastmode
This commit is contained in:
parent
055fe16677
commit
d75c176fef
2 changed files with 0 additions and 3 deletions
|
@ -85,7 +85,6 @@ void Camera::setOrientation(const glm::quat& orientation) {
|
|||
}
|
||||
|
||||
void Camera::setMode(CameraMode mode) {
|
||||
_lastMode = _mode;
|
||||
_mode = mode;
|
||||
emit modeUpdated(modeToString(mode));
|
||||
}
|
||||
|
|
|
@ -56,7 +56,6 @@ public:
|
|||
void update();
|
||||
|
||||
CameraMode getMode() const { return _mode; }
|
||||
CameraMode getLastMode() const { return _lastMode; }
|
||||
void setMode(CameraMode m);
|
||||
|
||||
void loadViewFrustum(ViewFrustum& frustum) const;
|
||||
|
@ -124,7 +123,6 @@ private:
|
|||
void decompose();
|
||||
|
||||
CameraMode _mode{ CAMERA_MODE_THIRD_PERSON };
|
||||
CameraMode _lastMode{ _mode };
|
||||
glm::mat4 _transform;
|
||||
glm::mat4 _projection;
|
||||
|
||||
|
|
Loading…
Reference in a new issue