Union Bytes EngineModulesMathQuaternionqMultiplication

Union Bytes Engine

GeneralHilfeseitensyntaxModules
AnimationBillboardCageCameraControlDefinitionDrawingFontGadgetGeneralJoystickLightMaterialMath
Quaternion
qFromEulerqInverseqMultiplicationqMultiplyqNormalizationqNormalize
Vector
MeshNetworkNodeObjectParticlePhysicShaderSoundsSpriteTexture

qMultiplicationFUNCTION

Description

Multiplies the specified quaternions.

Syntax

*qResult.UBE_QUATERNION = UBE_qMultiplication( *qResult.UBE_QUATERNION, *qLeft.UBE_QUATERNION, *qRight.UBE_QUATERNION )

Parameters

*qResult A valid pointer to a quaternion (result).
*qLeft A valid pointer to a quaternion (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