Ray-cast input data for N-dimensions. More...
#include <RayCastInput.hpp>
Public Attributes | |
Vector< Length, N > | p1 |
Point 1. | |
Vector< Length, N > | p2 |
Point 2. | |
UnitInterval< Real > | maxFraction = UnitInterval<Real>{0} |
Max fraction. More... | |
Related Functions | |
(Note that these are not member functions.) | |
AABB | GetAABB (const playrho::detail::RayCastInput< 2 > &input) noexcept |
Gets the AABB for the given ray cast input data. <2> | |
Ray-cast input data for N-dimensions.
p1
to p1 + maxFraction * (p2 - p1)
. UnitInterval<Real> playrho::detail::RayCastInput< N >::maxFraction = UnitInterval<Real>{0} |
Max fraction.
Unit interval value - a value between 0 and 1 inclusive.
Referenced by playrho::d2::RayCast().