Skip to main content

BinaryUint32BVH

Constants

BVH_BOX_BYTE_SIZE : number
BVH_BINARY_NODE_SIZE : number

In words (4 byte)

BVH_LEAF_NODE_SIZE : number

Functions

copy_box_zero_size(data, destination, source)
build_morton(data, address, bounds)number

Assumes data will be normalized to 0...1 value range

BVH_BOX_BYTE_SIZE : number

Kind: global constant
Read only: true

BVH_BINARY_NODE_SIZE : number

In words (4 byte)

Kind: global constant
Read only: true

BVH_LEAF_NODE_SIZE : number

Kind: global constant
Read only: true

copy_box_zero_size(data, destination, source)

Kind: global function

ParamType
dataFloat32Array
destinationnumber
sourcenumber

build_morton(data, address, bounds) ⇒ number

Assumes data will be normalized to 0...1 value range

Kind: global function

ParamType
dataFloat32Array
addressnumber
boundsArray.<number>