switched getAABox() interface

This commit is contained in:
ZappoMan 2013-05-06 15:50:42 -07:00
parent 96561e97d8
commit 89226b18a5

View file

@ -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;