mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 03:40:20 +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);
|
this, &MyAvatar::goToLocation);
|
||||||
_characterController.setEnabled(true);
|
_characterController.setEnabled(true);
|
||||||
|
|
||||||
_hmdSensorMatrix = glm::mat4();
|
|
||||||
_hmdSensorPosition = extractTranslation(_hmdSensorMatrix);
|
|
||||||
_hmdSensorOrientation = glm::quat_cast(_hmdSensorMatrix);
|
|
||||||
_bodySensorMatrix = deriveBodyFromHMDSensor();
|
_bodySensorMatrix = deriveBodyFromHMDSensor();
|
||||||
updateSensorToWorldMatrix();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MyAvatar::~MyAvatar() {
|
MyAvatar::~MyAvatar() {
|
||||||
|
|
Loading…
Reference in a new issue