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) { bool findRayOperation(VoxelNode* node, void* extraData) {
RayArgs* args = static_cast<RayArgs*>(extraData); RayArgs* args = static_cast<RayArgs*>(extraData);
AABox box; AABox box = node->getAABox();
node->getAABox(box);
float distance; float distance;
if (!box.findRayIntersection(args->origin, args->direction, distance)) { if (!box.findRayIntersection(args->origin, args->direction, distance)) {
return false; return false;