Skip to content

Commit 1368660

Browse files
committed
use aabb for bvh
1 parent be2c6ff commit 1368660

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/compas_model/models/bvh.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ def nearest_neighbors(
8080
8181
"""
8282
nnbrs = []
83-
box = element.compute_obb(inflate=1.2)
83+
box = element.compute_aabb(inflate=1.2)
8484
for node in self.intersect_box(box):
8585
if node.is_leaf:
8686
nbr = node.objects[0][2]

0 commit comments

Comments
 (0)