We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a7f4dbe commit c6c3f42Copy full SHA for c6c3f42
examples_tests/common/Camera.hpp
@@ -74,6 +74,18 @@ class Camera {
74
75
inline const nbl::core::vectorSIMDf& getBackupUpVector() const { return backupUpVector; }
76
77
+ inline const float getMoveSpeed() const { return moveSpeed; }
78
+
79
+ inline void setMoveSpeed(const float _moveSpeed) {
80
+ moveSpeed = _moveSpeed;
81
+ }
82
83
+ inline const float getRotateSpeed() const { return rotateSpeed; }
84
85
+ inline void setRotateSpeed(const float _rotateSpeed) {
86
+ rotateSpeed = _rotateSpeed;
87
88
89
inline void recomputeViewMatrix() {
90
nbl::core::vectorSIMDf pos = position;
91
nbl::core::vectorSIMDf localTarget = nbl::core::normalize(target - pos);
0 commit comments