mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 14:33:31 +02:00
check radius in ViewFrustum::isVerySimilar()
This commit is contained in:
parent
a55661e1ff
commit
d55d45f6aa
1 changed files with 2 additions and 1 deletions
|
@ -339,7 +339,8 @@ bool ViewFrustum::isVerySimilar(const ViewFrustum& other) const {
|
|||
closeEnough(_aspectRatio, other._aspectRatio, MIN_RELATIVE_ERROR) &&
|
||||
closeEnough(_nearClip, other._nearClip, MIN_RELATIVE_ERROR) &&
|
||||
closeEnough(_farClip, other._farClip, MIN_RELATIVE_ERROR) &&
|
||||
closeEnough(_focalLength, other._focalLength, MIN_RELATIVE_ERROR);
|
||||
closeEnough(_focalLength, other._focalLength, MIN_RELATIVE_ERROR),
|
||||
closeEnough(_centerSphereRadius, other._centerSphereRadius, MIN_RELATIVE_ERROR);
|
||||
}
|
||||
|
||||
PickRay ViewFrustum::computePickRay(float x, float y) {
|
||||
|
|
Loading…
Reference in a new issue