Union Bytes EngineModulesMathQuaternionqMultiply

Union Bytes Engine

GeneralHilfeseitensyntaxModules
AnimationBillboardCageCameraControlDefinitionDrawingFontGadgetGeneralJoystickLightMaterialMath
Quaternion
qFromEulerqInverseqMultiplicationqMultiplyqNormalizationqNormalize
Vector
MeshNetworkNodeObjectParticlePhysicShaderSoundsSpriteTexture

qMultiplyFUNCTION

Description

Multiplies the specified quaternions.

Syntax

*qResultAndLeft.UBE_QUATERNION = UBE_qMultiplication( *qResultAndLeft.UBE_QUATERNION, *qRight.UBE_QUATERNION )

Parameters

*qResultAndLeft A valid pointer to a quaternion (result and left operand).
*qRight A valid pointer to a quaternion (right operand).

Return value

The pointer to the result quaternion.

Remarks

The multiplication Left · Right of two quaternions gives the new oriantation Result of the oriantation Right rotated with Left.

See also

Union Bytes | Login