- construct
BVHNode!T construct(DynamicArray!T objects, uint rec, uint maxObjectsPerNode, uint maxRecursionDepth, Heuristic splitHeuristic)
Undocumented in source. Be warned that the author may not have intended to support it.
- free
void free()
Undocumented in source. Be warned that the author may not have intended to support it.
- getHalfMainAxisSplitPlane
SplitPlane getHalfMainAxisSplitPlane(T[] objects, AABB box)
Undocumented in source. Be warned that the author may not have intended to support it.
- getSAHCost
float getSAHCost(AABB leftBox, uint numLeftObjects, AABB rightBox, uint numRightObjects, AABB parentBox)
Undocumented in source. Be warned that the author may not have intended to support it.
- getSAHSplitPlane
SplitPlane getSAHSplitPlane(T[] objects, AABB box)
Undocumented in source. Be warned that the author may not have intended to support it.
- getSurfaceArea
float getSurfaceArea(AABB bbox)
Undocumented in source. Be warned that the author may not have intended to support it.