Skip to main content

aabb3_intersects_ray

aabb3_intersects_ray(x0, y0, z0, x1, y1, z1, origin_x, origin_y, origin_z, direction_x, direction_y, direction_z) ⇒ boolean

NOTES: https://web.archive.org/web/20090803054252/http://tog.acm.org/resources/GraphicsGems/gems/RayBox.c https://tavianator.com/fast-branchless-raybounding-box-intersections/ https://gamedev.stackexchange.com/questions/18436/most-efficient-aabb-vs-ray-collision-algorithms

Kind: global function

ParamType
x0number
y0number
z0number
x1number
y1number
z1number
origin_xnumber
origin_ynumber
origin_znumber
direction_xnumber
direction_ynumber
direction_znumber