Skip to main content

BVHGeometry

BVHGeometry

Kind: global class

new BVHGeometry(tree)

ParamType
treeBinaryNode | LeafNode

BVHGeometry~makeVertex(x, y, z) ⇒ number

Kind: inner method of BVHGeometry

ParamType
xnumber
ynumber
znumber

BVHGeometry~makeQuad(a, b, c, d)

Kind: inner method of BVHGeometry

ParamType
anumber
bnumber
cnumber
dnumber

BVHGeometry~makeCube(x0, y0, z0, x1, y1, z1)

Kind: inner method of BVHGeometry

ParamType
x0number
y0number
z0number
x1number
y1number
z1number

BVHGeometry~processNode(n)

Kind: inner method of BVHGeometry

ParamType
nBinaryNode | LeafNode