transport_reference
Vector3 transport_reference(const Vector3 &reference, const Vector3 &from_up, const Vector3 &to_up) noexceptParameters
| Name | Type | Description |
|---|---|---|
reference | const Vector3 & | The direction to carry; unit length. |
from_up | const Vector3 & | The local vertical before the move; unit length. |
to_up | const Vector3 & | The local vertical after the move; unit length. |
Returns
Vector3
The transported reference, unit length.
Description
Parallel-transports reference across a change in local vertical.
See also
engine/world/simulation/include/WORLD.md

