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