mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 17:35:08 +02:00
Fix eyeball directions in fullscreen HMD view
This commit is contained in:
parent
7ffde27224
commit
46524632fe
1 changed files with 1 additions and 5 deletions
|
@ -2611,11 +2611,7 @@ void Application::updateMyAvatarLookAtPosition() {
|
|||
if (_myCamera.getMode() == CAMERA_MODE_MIRROR) {
|
||||
// When I am in mirror mode, just look right at the camera (myself); don't switch gaze points because when physically
|
||||
// looking in a mirror one's eyes appear steady.
|
||||
if (!isHMD) {
|
||||
lookAtSpot = _myCamera.getPosition();
|
||||
} else {
|
||||
lookAtSpot = _myCamera.getPosition() + transformPoint(_myAvatar->getSensorToWorldMatrix(), extractTranslation(getHMDSensorPose()));
|
||||
}
|
||||
lookAtSpot = _myCamera.getPosition();
|
||||
} else if (eyeTracker->isTracking() && (isHMD || eyeTracker->isSimulating())) {
|
||||
// Look at the point that the user is looking at.
|
||||
if (isHMD) {
|
||||
|
|
Loading…
Reference in a new issue