mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 14:54:29 +02:00
more clean up
This commit is contained in:
parent
104cbbff7e
commit
1b20cc8bd0
1 changed files with 1 additions and 1 deletions
|
@ -543,7 +543,7 @@ bool EntityTreeElement::findRayIntersection(const glm::vec3& origin, const glm::
|
|||
float distanceToElementDetails = distance;
|
||||
BoxFace localFace;
|
||||
glm::vec3 localSurfaceNormal;
|
||||
|
||||
|
||||
// if the ray doesn't intersect with our cube, we can stop searching!
|
||||
if (!_cube.findRayIntersection(origin, direction, distanceToElementCube, localFace, localSurfaceNormal)) {
|
||||
keepSearching = false; // no point in continuing to search
|
||||
|
|
Loading…
Reference in a new issue