Contents

SushiEngine

resolve_look_subject

LookSubject resolve_look_subject(const FramingSubject &body, const FramingSubject &object, Scalar ground_clearance, Scalar field_of_view_radians) noexcept

Parameters

NameType
bodyconst FramingSubject &
objectconst FramingSubject &
ground_clearanceScalar
field_of_view_radiansScalar

Returns

LookSubject

Description

Resolves the body and a nearby object into the single subject the camera obeys.

See also

engine/foundation/core/include/README.md