From ce7e38590020f6ade1fd1d75f53e081aa6a8f64f Mon Sep 17 00:00:00 2001 From: "Anthony J. Thibault" Date: Sat, 25 Jul 2015 12:24:26 -0700 Subject: [PATCH] Updated comment --- interface/src/avatar/MyAvatar.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/interface/src/avatar/MyAvatar.cpp b/interface/src/avatar/MyAvatar.cpp index 6e35748f73..5fa3be704a 100644 --- a/interface/src/avatar/MyAvatar.cpp +++ b/interface/src/avatar/MyAvatar.cpp @@ -267,9 +267,8 @@ glm::mat4 MyAvatar::getSensorToWorldMatrix() const { } } -// best called at end of main loop, just before rendering. -// update sensor to world matrix from current body position and hmd sensor. -// This is so the correct camera can be used for rendering. +// best called at start of main loop just after we have a fresh hmd pose. +// update internal body position from new hmd pose. void MyAvatar::updateFromHMDSensorMatrix(const glm::mat4& hmdSensorMatrix) { // update the sensorMatrices based on the new hmd pose _hmdSensorMatrix = hmdSensorMatrix;