Skip to main content

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

ParamType
dataFloat32Array
addressnumber
bounds_x0number
bounds_y0number
multiplier_xnumber
multiplier_ynumber

copy_box_zero_size(data, destination, source)

Kind: global function

ParamType
dataFloat32Array
destinationnumber
sourcenumber