Ray-cast hit data. More...
#include <playrho/d2/RayCastOutput.hpp>
Public Attributes | |
| UnitIntervalFF< Real > | fraction |
| Fraction. More... | |
| UnitVec | normal |
| Surface normal in world coordinates at the point of contact. | |
Ray-cast hit data.
The ray hits at p1 + fraction * (p2 - p1), where p1 and p2 come from RayCastInput.
| UnitIntervalFF<Real> playrho::d2::RayCastHit::fraction |
Fraction.