Skip to main content

bvh_query_user_data_ray

bvh_query_user_data_ray(bvh, root, result, result_offset, origin_x, origin_y, origin_z, direction_x, direction_y, direction_z) ⇒ number

Kind: global function

ParamType
bvhBVH
rootnumber
resultArray.<number>
result_offsetnumber
origin_xnumber
origin_ynumber
origin_znumber
direction_xnumber
direction_ynumber
direction_znumber

bvh_query_user_data_ray~pointer : number

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

Kind: inner property of bvh_query_user_data_ray

bvh_query_user_data_ray~stack_top : number

Kind: inner constant of bvh_query_user_data_ray

bvh_query_user_data_ray~node : number

Kind: inner constant of bvh_query_user_data_ray