Go to the source code of this file.
Namespaces | |
| namespace | MR |
| Only strictly necessary for the bindings (to make MR::MeshIntersectionResult a complete type). | |
Typedefs | |
| using | MR::OnLeafCallback = FunctionRef<void( size_t leafIndex, size_t boxedLeafIndex )> |
| called in parallel for every leaf with its index in the order of the tree and its index in the given boxed leaves | |
Functions | |
| int | MR::getNumNodes (int numLeaves) |
| returns the number of not-leaf nodes in the binary tree with given number of leaves | |
| template<typename T> | |
| AABBTreeNodeVec< T > | MR::makeAABBTreeNodeVec (const Vector< BoxedLeaf< T > > &boxedLeaves, OnLeafCallback onLeaf) |