Ray

Members

Aliases

VecType
alias VecType = Vector!(T, 3)
Undocumented in source.

Functions

intersects
bool intersects(AABBT!T aabb, T distance)

note: fails for axis aligned rays (see: https://tavianator.com/fast-branchless-raybounding-box-intersections-part-2-nans/)

Variables

direction
VecType direction;
Undocumented in source.
origin
VecType origin;
Undocumented in source.

Meta