Contents

SushiEngine

blended_yaw_axis

Vector3 blended_yaw_axis(const Quaternion &rotation, const Vector3 &up_reference, Scalar levelling_weight) noexcept

Parameters

NameTypeDescription
rotationconst Quaternion &
up_referenceconst Vector3 &

The local vertical; unit length.

levelling_weightScalar

Returns

Vector3

A unit axis; up_reference itself at weight one, bit for bit.

Description

Returns the axis mouse X turns about for a given levelling weight.

See also

engine/foundation/core/include/README.md