diff options
Diffstat (limited to 'src/3d/bvh.h')
| -rw-r--r-- | src/3d/bvh.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/3d/bvh.h b/src/3d/bvh.h index 97e9a06..af4b152 100644 --- a/src/3d/bvh.h +++ b/src/3d/bvh.h @@ -63,6 +63,9 @@ class BVH { void query(const AABB& box, std::vector<int>& out_indices) const; }; +// Compute world-space AABB by transforming local bounds corners +AABB get_world_aabb(const Object3D& obj); + class BVHBuilder { public: static void build(BVH& out_bvh, const std::vector<Object3D>& objects); |
