Skip to main content

query_bvh_geometry_nearest

Constants

v3_scratch_0 : Array.<number>

Functions

query_bvh_geometry_nearest(result, bvh, positions, indices, x, y, z, max_distance)boolean

v3_scratch_0 : Array.<number>

Kind: global constant

query_bvh_geometry_nearest(result, bvh, positions, indices, x, y, z, max_distance) ⇒ boolean

Kind: global function

ParamType
resultSurfacePoint3
bvhBVH
positionsArray.<number> | Float32Array
indicesArray.<number> | Uint32Array | Uint16Array
xnumber
ynumber
znumber
max_distancenumber

query_bvh_geometry_nearest~pointer : number

Move stack pointer to local variable scope to avoid de-referencing inside the loop

Kind: inner property of query_bvh_geometry_nearest

query_bvh_geometry_nearest~stack_top : number

Kind: inner constant of query_bvh_geometry_nearest

query_bvh_geometry_nearest~node : number

Kind: inner constant of query_bvh_geometry_nearest