mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
the minimal fix
This commit is contained in:
parent
12ff9734e0
commit
e160e2a7ae
1 changed files with 0 additions and 4 deletions
|
@ -122,11 +122,7 @@ MyAvatar::MyAvatar(RigPointer rig) :
|
|||
this, &MyAvatar::goToLocation);
|
||||
_characterController.setEnabled(true);
|
||||
|
||||
_hmdSensorMatrix = glm::mat4();
|
||||
_hmdSensorPosition = extractTranslation(_hmdSensorMatrix);
|
||||
_hmdSensorOrientation = glm::quat_cast(_hmdSensorMatrix);
|
||||
_bodySensorMatrix = deriveBodyFromHMDSensor();
|
||||
updateSensorToWorldMatrix();
|
||||
}
|
||||
|
||||
MyAvatar::~MyAvatar() {
|
||||
|
|
Loading…
Reference in a new issue