Salta ai contenuti
Seleziona lingua:Italiano
Questa pagina è disponibile solo in inglese.

MCL 1.3.5

operator fun times(other: Quatf): Quatf

Quaternion–Quaternion multiplication.

When both operands are unit quaternions, this represents the composition of rotations.

The resulting rotation corresponds to applying this rotation followed by other.


operator fun times(v: Vec3f): Vec3f

Applies this quaternion to a 3D vector.

This quaternion should be normalized for correct rotation behavior.

Return

The rotated vector.

Parameters

v

The vector to rotate.


operator fun times(scalar: Float): Quatf

Multiplies this quaternion by a scalar.