Encapsulate BVH class members.
PiperOrigin-RevId: 662141171 Change-Id: Ica202d31dacc9cc500d0aeecded941b79002b9a1
This commit is contained in:
committed by
Copybara-Service
parent
648fd56ed1
commit
20cae556ee
@@ -567,7 +567,7 @@ void mjCMesh::Compile(const mjVFS* vfs) {
|
||||
}
|
||||
|
||||
// make bounding volume hierarchy
|
||||
if (tree_.bvh.empty()) {
|
||||
if (tree_.Bvh().empty()) {
|
||||
face_aabb_.assign(6*nface(), 0);
|
||||
tree_.AllocateBoundingVolumes(nface());
|
||||
for (int i=0; i < nface(); i++) {
|
||||
|
||||
Reference in New Issue
Block a user