Showing the changes to libraries/entities/src/EntityTreeElement.cpp (1 of 3 files). Show all
Unified · Split
| @@ -553,6 +553,8 @@ bool EntityTreeElement::findDetailedRayIntersection(const glm::vec3& origin, con · 552 unmodified lines | ||
| 553 | 553 | face = localFace; |
| 554 | 554 | *intersectedObject = (void*)entity; |
| 555 | 555 | somethingIntersected = true; |
| 556 | + } else { | |
| 557 | + qDebug() << " localDistance >= distance... TOO FAR AWAY"; | |
| 556 | 558 | } |
| 557 | 559 | } |
| 558 | 560 | } else { |
| @@ -566,6 +568,8 @@ bool EntityTreeElement::findDetailedRayIntersection(const glm::vec3& origin, con · 7 unmodified lines | ||
| 566 | 568 | face = localFace; |
| 567 | 569 | *intersectedObject = (void*)entity; |
| 568 | 570 | somethingIntersected = true; |
| 571 | + } else { | |
| 572 | + qDebug() << " localDistance >= distance... TOO FAR AWAY"; | |
| 569 | 573 | } |
| 570 | 574 | } |
| 571 | 575 | } |