StaticR2Tree
Classes
- StaticR2Tree
NOTE: code is based on BinaryUint32BVH NOTE: this code is mostly untested
Functions
- build_normalized_morton_2d(data, address, bounds_x0, bounds_y0, multiplier_x, multiplier_y) ⇒
number
Assumes data will be normalized to 0...1 value range
- copy_box_zero_size(data, destination, source)
build_normalized_morton_2d(data, address, bounds_x0, bounds_y0, multiplier_x, multiplier_y) ⇒ number
Assumes data will be normalized to 0...1 value range
Kind: global function
Param | Type |
---|---|
data | Float32Array |
address | number |
bounds_x0 | number |
bounds_y0 | number |
multiplier_x | number |
multiplier_y | number |
copy_box_zero_size(data, destination, source)
Kind: global function
Param | Type |
---|---|
data | Float32Array |
destination | number |
source | number |