Union Bytes EngineModulesMathVectorv4fAdd

Union Bytes Engine

GeneralHilfeseitensyntaxModules
AnimationBillboardCageCameraControlDefinitionDrawingFontGadgetGeneralJoystickLightMaterialMath
QuaternionVector
v4fAddv4fAdditionv4fChangev4fDotv4fLengthv4fSetVECTOR4f
MeshNetworkNodeObjectParticlePhysicShaderSoundsSpriteTexture

v4fAddFUNCTION

Description

Adds the specified homogeneous vectors.

Syntax

*v4fTarget.UBE_VECTOR4f = UBE_v4fAdd( *v4fTarget.UBE_VECTOR4f, *v4fSource.UBE_VECTOR4f )

Parameters

*v4fTarget A valid pointer to a homogeneous vector (result and left operand).
*v4fSource A valid pointer to a homogeneous vector (right operand).

Return value

The pointer to the result homogeneous vector.

Remarks

Tx = Tx + Sx
Ty = Ty + Sy
Tz = Tz + Sz
Tw = max( Tw , Sw )

See also

Union Bytes | Login