arrival_framing
CameraBasis arrival_framing(const Vector3 &eye, const Vector3 ¢er, const Vector3 &pole, Scalar body_radius, Scalar field_of_view_radians) noexceptParameters
| Name | Type |
|---|---|
eye | const Vector3 & |
center | const Vector3 & |
pole | const Vector3 & |
body_radius | Scalar |
field_of_view_radians | Scalar |
Returns
CameraBasis
An orthonormal right-handed basis, plus the local vertical it was built on.
Description
Returns the attitude to arrive at when a camera is teleported to inspect a body.
See also
engine/foundation/core/include/README.md

