mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:24:07 +02:00
Merge pull request #6793 from sethalves/fix-get-query-aabox
fix queryAABox bug
This commit is contained in:
commit
d5c8689843
1 changed files with 2 additions and 1 deletions
|
@ -598,7 +598,8 @@ AACube SpatiallyNestable::getQueryAACube(bool& success) const {
|
|||
return _queryAACube;
|
||||
}
|
||||
success = false;
|
||||
return AACube(getPosition(success) - glm::vec3(defaultAACubeSize / 2.0f), defaultAACubeSize);
|
||||
bool getPositionSuccess;
|
||||
return AACube(getPosition(getPositionSuccess) - glm::vec3(defaultAACubeSize / 2.0f), defaultAACubeSize);
|
||||
}
|
||||
|
||||
AACube SpatiallyNestable::getQueryAACube() const {
|
||||
|
|
Loading…
Reference in a new issue