the minimal fix

This commit is contained in:
Andrew Meadows 2015-11-03 11:37:30 -08:00
parent 12ff9734e0
commit e160e2a7ae

View file

@ -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() {