Ray

A Ray ir a point + a direction.

Members

Aliases

point_t
alias point_t = Vector!(T, N)
Undocumented in source.

Functions

intersect
bool intersect(Triangle!(T, 3) triangle, T t, T u, T v)

Ray vs triangle intersection.

intersect
bool intersect(Plane!T plane, point_t intersection, T distance)

Ray vs plane intersection.

progress
point_t progress(T t)

Variables

dir
point_t dir;
Undocumented in source.
orig
point_t orig;
Undocumented in source.

Meta