15 #include <type_traits> 22 template <
class T>
struct alignas(8)
Ray {
24 static_assert(std::is_floating_point<T>::value,
25 "Scalar must be a floating point type");
Name namespace for CortidQCT library.
Definition: CortidQCT.h:23
std::array< T, 3 > direction
The (normalized) direction of the ray (dx, dy,d z)
Definition: Ray.h:30
std::array< T, 3 > origin
The origin of the ray in cartesian coordinates (x, y, z)
Definition: Ray.h:25
A basic ray datatype.
Definition: Ray.h:22