Contents

SushiEngine

resolve_displayed_euler

void resolve_displayed_euler(const EulerEditCache &cache, const Quaternion &current_rotation, const float fresh_triple[3], float out_triple[3]) noexcept

Parameters

NameTypeDescription
cacheconst EulerEditCache &
current_rotationconst Quaternion &
fresh_tripleconst float
out_triplefloat

Receives the triple to display; may alias fresh_triple.

Description

Picks the Euler triple the Inspector's Rotation row shows.

Precondition

cache.produced_rotation was read back from the entity after its write settled.

See also

engine/foundation/core/include/README.md