sphere_intersects_ray
sphere_intersects_ray(center_x, center_y, center_z, radius, origin_x, origin_y, origin_z, direction_x, direction_y, direction_z) ⇒ boolean
Kind: global function
Param | Type |
---|---|
center_x | number |
center_y | number |
center_z | number |
radius | number |
origin_x | number |
origin_y | number |
origin_z | number |
direction_x | number |
direction_y | number |
direction_z | number |