Union Bytes EngineModulesMathVectorv4fChange

Union Bytes Engine

GeneralHilfeseitensyntaxModules
AnimationBillboardCageCameraControlDefinitionDrawingFontGadgetGeneralJoystickLightMaterialMath
QuaternionVector
v4fAddv4fAdditionv4fChangev4fDotv4fLengthv4fSetVECTOR4f
MeshNetworkNodeObjectParticlePhysicShaderSoundsSpriteTexture

v4fChange

Description

Change the given homogeneous vectors with a multiple of the source.

Syntax

*v4fTarget.UBE_VECTOR4f = UBE_v4fChange( *v4fTarget.UBE_VECTOR4f,
                                         *v4fSource.UBE_VECTOR4f, Factor.f )

Parameters

*v4fTarget A valid pointer to a homogeneous vector (Result and left operand).
*v4fSource A valid pointer to a homogeneous vector (Right operand).
Factor The multiplication factor of the source vector.

Return value

The pointer to the result homogeneous vector.

Remarks

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

See also

Union Bytes | Login