Ray-cast input data for N-dimensions. More...
#include <playrho/detail/RayCastInput.hpp>
Public Attributes | |
UnitInterval< Real > | maxFraction |
Max fraction. More... | |
Vector< Length, N > | p1 |
Point 1. | |
Vector< Length, N > | p2 |
Point 2. | |
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 |
Max fraction.
Unit interval value - a value between 0 and 1 inclusive.
Referenced by playrho::d2::RayCast(), and playrho::d2::World::RayCast().