framing_distance
Scalar framing_distance(Scalar radius, Scalar field_of_view_radians, Scalar margin) noexceptParameters
| Name | Type |
|---|---|
radius | Scalar |
field_of_view_radians | Scalar |
margin | Scalar |
Returns
Scalar
The distance from the subject's centre, always positive and finite.
Description
Returns the distance at which a sphere of the given radius fills the field of view.
See also
engine/foundation/core/include/README.md

