Remove random print statements from eyecontact code in Application.cpp

This commit is contained in:
Mark Peng 2013-07-10 17:20:46 -07:00
parent baf9edecc9
commit c832662807

View file

@ -1738,9 +1738,7 @@ bool Application::isLookingAtOtherAvatar(glm::vec3 &mouseRayOrigin, glm::vec3 &m
if (node->getLinkedData() != NULL && node->getType() == NODE_TYPE_AGENT) {
Avatar *avatar = (Avatar *)node->getLinkedData();
glm::vec3 headPosition = avatar->getHead().getPosition();
printf("x: %f y: %f z: %f \n", mouseRayOrigin.x, mouseRayOrigin.y, mouseRayOrigin.z);
if (rayIntersectsSphere(mouseRayOrigin, mouseRayDirection, headPosition, 0.07)) {
printf("lalala\n");
eyePosition = avatar->getHead().getEyeLevelPosition();
return true;
}