mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 15:23:56 +02:00
unused variable
This commit is contained in:
parent
479d6abc58
commit
762b409814
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ bool ContextOverlayInterface::createOrDestroyContextOverlay(const EntityItemID&
|
|||
float distance;
|
||||
BoxFace face;
|
||||
glm::vec3 normal;
|
||||
bool intersectionExists = boundingBox.findRayIntersection(cameraPosition, direction, distance, face, normal);
|
||||
boundingBox.findRayIntersection(cameraPosition, direction, distance, face, normal);
|
||||
contextOverlayPosition = (cameraPosition + direction * distance) - direction * CONTEXT_OVERLAY_FAR_OFFSET;
|
||||
contextOverlayDimensions = glm::vec2(CONTEXT_OVERLAY_FAR_SIZE, CONTEXT_OVERLAY_FAR_SIZE) * glm::distance(contextOverlayPosition, cameraPosition);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue