dmech.bvh

Undocumented in source.

Members

Classes

BVHNode
class BVHNode(T)
Undocumented in source.
BVHTree
class BVHTree(T)
Undocumented in source.

Enums

Heuristic
enum Heuristic
Undocumented in source.

Functions

boxGetMainAxis
Axis boxGetMainAxis(AABB box)
Undocumented in source. Be warned that the author may not have intended to support it.
boxGetSplitPlaneForAxis
SplitPlane boxGetSplitPlaneForAxis(AABB box, Axis a)
Undocumented in source. Be warned that the author may not have intended to support it.
boxSplitWithPlane
Compound!(AABB, AABB) boxSplitWithPlane(AABB box, SplitPlane sp)
Undocumented in source. Be warned that the author may not have intended to support it.
enclosingAABB
AABB enclosingAABB(T[] objects)
Undocumented in source. Be warned that the author may not have intended to support it.
traverse
void traverse(BVHNode!T node, void delegate(BVHNode!T) func)
Undocumented in source. Be warned that the author may not have intended to support it.
traverseByRay
void traverseByRay(BVHNode!T node, Ray ray, void delegate(ref T) func)
Undocumented in source. Be warned that the author may not have intended to support it.
traverseBySphere
void traverseBySphere(BVHNode!T node, Sphere sphere, void delegate(ref T) func)
Undocumented in source. Be warned that the author may not have intended to support it.

Structs

SplitPlane
struct SplitPlane
Undocumented in source.

Meta