History

Remove random print statements from eyecontact code in Application.cpp

Mark Peng committed 13 years ago

Commit c8326621 parent baf9ede1 file · +0 −2Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+0−2
@@ -1738,9 +1738,7 @@ bool Application::isLookingAtOtherAvatar(glm::vec3 &mouseRayOrigin, glm::vec3 &m · 1737 unmodified lines
1738 if (node->getLinkedData() != NULL && node->getType() == NODE_TYPE_AGENT) {1738 if (node->getLinkedData() != NULL && node->getType() == NODE_TYPE_AGENT) {
1739 Avatar *avatar = (Avatar *)node->getLinkedData();1739 Avatar *avatar = (Avatar *)node->getLinkedData();
1740 glm::vec3 headPosition = avatar->getHead().getPosition();1740 glm::vec3 headPosition = avatar->getHead().getPosition();
1741 printf("x: %f y: %f z: %f \n", mouseRayOrigin.x, mouseRayOrigin.y, mouseRayOrigin.z);
1742 if (rayIntersectsSphere(mouseRayOrigin, mouseRayDirection, headPosition, 0.07)) {1741 if (rayIntersectsSphere(mouseRayOrigin, mouseRayDirection, headPosition, 0.07)) {
1743 printf("lalala\n");
1744 eyePosition = avatar->getHead().getEyeLevelPosition();1742 eyePosition = avatar->getHead().getEyeLevelPosition();
1745 return true;1743 return true;
1746 }1744 }

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t