mirror of
https://github.com/overte-org/overte.git
synced 2025-08-04 01:03:38 +02:00
cleanup
This commit is contained in:
parent
549d3a3671
commit
2f943b697a
1 changed files with 1 additions and 22 deletions
|
@ -1052,28 +1052,7 @@ void Application::setFullscreen(bool fullscreen) {
|
|||
}
|
||||
|
||||
void Application::setRenderFirstPerson(bool firstPerson) {
|
||||
|
||||
_manualFirstPerson = firstPerson;
|
||||
|
||||
/*
|
||||
if (firstPerson) {
|
||||
Camera::CameraFollowingAttributes a;
|
||||
a.upShift = 0.0f;
|
||||
a.distance = 0.0f;
|
||||
a.tightness = 100.0f;
|
||||
_myCamera.setMode(CAMERA_MODE_FIRST_PERSON, a);
|
||||
_myAvatar.setDisplayingHead(true);
|
||||
|
||||
} else {
|
||||
Camera::CameraFollowingAttributes a;
|
||||
a.upShift = -0.2f;
|
||||
a.distance = 1.5f;
|
||||
a.tightness = 8.0f;
|
||||
_myCamera.setMode(CAMERA_MODE_THIRD_PERSON, a);
|
||||
_myAvatar.setDisplayingHead(true);
|
||||
}
|
||||
*/
|
||||
|
||||
_manualFirstPerson = firstPerson;
|
||||
}
|
||||
|
||||
void Application::setOculus(bool oculus) {
|
||||
|
|
Loading…
Reference in a new issue