mirror of
https://github.com/Armored-Dragon/overte.git
synced 2025-03-11 16:13:16 +01:00
Updated comment
This commit is contained in:
parent
3210037bc1
commit
ce7e385900
1 changed files with 2 additions and 3 deletions
|
@ -267,9 +267,8 @@ glm::mat4 MyAvatar::getSensorToWorldMatrix() const {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// best called at end of main loop, just before rendering.
|
// best called at start of main loop just after we have a fresh hmd pose.
|
||||||
// update sensor to world matrix from current body position and hmd sensor.
|
// update internal body position from new hmd pose.
|
||||||
// This is so the correct camera can be used for rendering.
|
|
||||||
void MyAvatar::updateFromHMDSensorMatrix(const glm::mat4& hmdSensorMatrix) {
|
void MyAvatar::updateFromHMDSensorMatrix(const glm::mat4& hmdSensorMatrix) {
|
||||||
// update the sensorMatrices based on the new hmd pose
|
// update the sensorMatrices based on the new hmd pose
|
||||||
_hmdSensorMatrix = hmdSensorMatrix;
|
_hmdSensorMatrix = hmdSensorMatrix;
|
||||||
|
|
Loading…
Reference in a new issue