Remove redundant bb calculation in AABBTree

This commit is contained in:
tamasmeszaros 2022-12-16 10:49:37 +01:00
parent 9606473c16
commit 743d431574

View File

@ -68,8 +68,6 @@ public:
template<class M> void AABBMesh::init(const M &mesh, bool calculate_epsilon) template<class M> void AABBMesh::init(const M &mesh, bool calculate_epsilon)
{ {
BoundingBoxf3 bb = bounding_box(mesh);
// Build the AABB accelaration tree // Build the AABB accelaration tree
m_aabb->init(*m_tm, calculate_epsilon); m_aabb->init(*m_tm, calculate_epsilon);
} }