From ee46c781c46ed56313656e7fc8a328a1935d2997 Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Wed, 26 Nov 2014 08:40:11 -0800 Subject: [PATCH] expand comment --- interface/src/avatar/Head.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/interface/src/avatar/Head.cpp b/interface/src/avatar/Head.cpp index 9f59fb38b7..660ebfcbb3 100644 --- a/interface/src/avatar/Head.cpp +++ b/interface/src/avatar/Head.cpp @@ -274,7 +274,11 @@ void Head::setCorrectedLookAtPosition(glm::vec3 correctedLookAtPosition) { } glm::quat Head::getCameraOrientation() const { - // this is used to support driving toward where you're head is looking + // NOTE: Head::getCameraOrientation() is not used for orienting the camera "view" while in Oculus mode, so + // you may wonder why this code is here. This method will be called while in Oculus mode to determine how + // to change the driving direction while in Oculus mode. It is used to support driving toward where you're + // head is looking. Note that in oculus mode, your actual camera view and where your head is looking is not + // always the same. if (OculusManager::isConnected()) { return getOrientation(); }