mirror of
https://github.com/overte-org/overte.git
synced 2025-08-08 11:37:58 +02:00
more const repairs in AvatarData
This commit is contained in:
parent
142a8a6f08
commit
a423d3c38f
1 changed files with 11 additions and 11 deletions
|
@ -39,9 +39,9 @@ public:
|
||||||
void setHeadPitch(float p) {_headPitch = p; }
|
void setHeadPitch(float p) {_headPitch = p; }
|
||||||
void setHeadYaw(float y) {_headYaw = y; }
|
void setHeadYaw(float y) {_headYaw = y; }
|
||||||
void setHeadRoll(float r) {_headRoll = r; };
|
void setHeadRoll(float r) {_headRoll = r; };
|
||||||
const float getHeadPitch() const { return _headPitch; };
|
float getHeadPitch() const { return _headPitch; };
|
||||||
const float getHeadYaw() const { return _headYaw; };
|
float getHeadYaw() const { return _headYaw; };
|
||||||
const float getHeadRoll() const { return _headRoll; };
|
float getHeadRoll() const { return _headRoll; };
|
||||||
void addHeadPitch(float p) {_headPitch -= p; }
|
void addHeadPitch(float p) {_headPitch -= p; }
|
||||||
void addHeadYaw(float y){_headYaw -= y; }
|
void addHeadYaw(float y){_headYaw -= y; }
|
||||||
void addHeadRoll(float r){_headRoll += r; }
|
void addHeadRoll(float r){_headRoll += r; }
|
||||||
|
@ -55,10 +55,10 @@ public:
|
||||||
float getLoudness() const {return _audioLoudness; };
|
float getLoudness() const {return _audioLoudness; };
|
||||||
|
|
||||||
// getters for camera details
|
// getters for camera details
|
||||||
const glm::vec3& getCameraPosition() const { return _cameraPosition; };
|
glm::vec3 getCameraPosition() const { return _cameraPosition; };
|
||||||
const glm::vec3& getCameraDirection() const { return _cameraDirection; }
|
glm::vec3 getCameraDirection() const { return _cameraDirection; }
|
||||||
const glm::vec3& getCameraUp() const { return _cameraUp; }
|
glm::vec3 getCameraUp() const { return _cameraUp; }
|
||||||
const glm::vec3& getCameraRight() const { return _cameraRight; }
|
glm::vec3 getCameraRight() const { return _cameraRight; }
|
||||||
float getCameraFov() const { return _cameraFov; }
|
float getCameraFov() const { return _cameraFov; }
|
||||||
float getCameraAspectRatio() const { return _cameraAspectRatio; }
|
float getCameraAspectRatio() const { return _cameraAspectRatio; }
|
||||||
float getCameraNearClip() const { return _cameraNearClip; }
|
float getCameraNearClip() const { return _cameraNearClip; }
|
||||||
|
|
Loading…
Reference in a new issue