mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-25 15:33:10 +02:00
switched getAABox() interface
This commit is contained in:
parent
96561e97d8
commit
89226b18a5
1 changed files with 1 additions and 2 deletions
|
@ -558,8 +558,7 @@ public:
|
|||
|
||||
bool findRayOperation(VoxelNode* node, void* extraData) {
|
||||
RayArgs* args = static_cast<RayArgs*>(extraData);
|
||||
AABox box;
|
||||
node->getAABox(box);
|
||||
AABox box = node->getAABox();
|
||||
float distance;
|
||||
if (!box.findRayIntersection(args->origin, args->direction, distance)) {
|
||||
return false;
|
||||
|
|
Loading…
Reference in a new issue