#include <darts/ray.h>
template<size_t N, typename T>
Ray struct
Simple ray segment data structure.
Along with the ray origin and direction, this data structure additionally stores the segment interval [mint, maxt], which may include positive/negative infinity.
Public static variables
Constructors, destructors, conversion operators
Public functions
- auto operator()(T t) const -> Vec<N, T>
- Return the position of a point along the ray.