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
Param | Type |
---|---|
bvh | BVH |
root | number |
result | Array.<number> |
result_offset | number |
origin_x | number |
origin_y | number |
origin_z | number |
direction_x | number |
direction_y | number |
direction_z | number |
- bvh_query_user_data_ray(bvh, root, result, result_offset, origin_x, origin_y, origin_z, direction_x, direction_y, direction_z) ⇒
number
- ~pointer :
number
- ~stack_top :
number
- ~node :
number
- ~pointer :
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