mirror of
https://github.com/overte-org/overte.git
synced 2025-04-21 18:44:00 +02:00
Remove random print statements from eyecontact code in Application.cpp
This commit is contained in:
parent
baf9edecc9
commit
c832662807
1 changed files with 0 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue