From 61b53701f33fd98b284136caf76dea08fbb4424f Mon Sep 17 00:00:00 2001 From: ZappoMan Date: Fri, 17 Oct 2014 16:07:08 -0700 Subject: [PATCH] fix some comments --- interface/src/ui/overlays/ModelOverlay.cpp | 2 +- interface/src/ui/overlays/Volume3DOverlay.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/src/ui/overlays/ModelOverlay.cpp b/interface/src/ui/overlays/ModelOverlay.cpp index 807be00300..12f54f02d9 100644 --- a/interface/src/ui/overlays/ModelOverlay.cpp +++ b/interface/src/ui/overlays/ModelOverlay.cpp @@ -132,7 +132,7 @@ bool ModelOverlay::findRayIntersection(const glm::vec3& origin, const glm::vec3& glm::vec3 overlayFrameOrigin = glm::vec3(worldToEntityMatrix * glm::vec4(origin, 1.0f)); glm::vec3 overlayFrameDirection = glm::vec3(worldToEntityMatrix * glm::vec4(direction, 0.0f)); - // we can use the AABox's ray intersection by mapping our origin and direction into the entity frame + // we can use the AABox's ray intersection by mapping our origin and direction into the overlays frame // and testing intersection there. if (overlayFrameBox.findRayIntersection(overlayFrameOrigin, overlayFrameDirection, distance, face)) { return true; diff --git a/interface/src/ui/overlays/Volume3DOverlay.cpp b/interface/src/ui/overlays/Volume3DOverlay.cpp index e88b1ea5a7..cc12d41e2e 100644 --- a/interface/src/ui/overlays/Volume3DOverlay.cpp +++ b/interface/src/ui/overlays/Volume3DOverlay.cpp @@ -101,7 +101,7 @@ bool Volume3DOverlay::findRayIntersection(const glm::vec3& origin, const glm::ve glm::vec3 overlayFrameOrigin = glm::vec3(worldToEntityMatrix * glm::vec4(origin, 1.0f)); glm::vec3 overlayFrameDirection = glm::vec3(worldToEntityMatrix * glm::vec4(direction, 0.0f)); - // we can use the AABox's ray intersection by mapping our origin and direction into the entity frame + // we can use the AABox's ray intersection by mapping our origin and direction into the overlays frame // and testing intersection there. if (overlayFrameBox.findRayIntersection(overlayFrameOrigin, overlayFrameDirection, distance, face)) { return true;