mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 17:03:58 +02:00
Fixes per code review
This commit is contained in:
parent
c309774e3c
commit
3388fccc86
2 changed files with 2 additions and 2 deletions
|
@ -1914,7 +1914,7 @@ void Application::updateAvatar(float deltaTime) {
|
|||
_myAvatar.updateHeadFromGyrosAndOrWebcam(_gyroLook->isChecked(),
|
||||
glm::vec3(_headCameraPitchYawScale,
|
||||
_headCameraPitchYawScale,
|
||||
_headCameraPitchYawScale) );
|
||||
_headCameraPitchYawScale));
|
||||
|
||||
if (_serialHeadSensor.isActive()) {
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ public:
|
|||
void setReturnToCenter (bool returnHeadToCenter) { _returnHeadToCenter = returnHeadToCenter; }
|
||||
void setRenderLookatVectors(bool onOff ) { _renderLookatVectors = onOff; }
|
||||
|
||||
void setCameraFollowsHead(bool b) { _cameraFollowsHead = b; }
|
||||
void setCameraFollowsHead(bool cameraFollowsHead) { _cameraFollowsHead = cameraFollowsHead; }
|
||||
|
||||
glm::quat getOrientation() const;
|
||||
glm::quat getCameraOrientation () const;
|
||||
|
|
Loading…
Reference in a new issue