[−][src]Function directx_math::XMVectorMultiplyAdd
pub fn XMVectorMultiplyAdd(
V1: FXMVECTOR,
V2: FXMVECTOR,
V3: FXMVECTOR
) -> XMVECTOR
Computes the product of the first two vectors added to the third vector.
Parameters
V1
Vector multiplier.
V2
Vector multiplicand.
V3
Vector addend.
Return value
Returns the product-sum of the vectors.
Remarks
The following pseudocode demonstrates the operation of the function:
XMVECTOR Result;
Result.x = V1.x * V2.x + V3.x;
Result.y = V1.y * V2.y + V3.y;
Result.z = V1.z * V2.z + V3.z;
Result.w = V1.w * V2.w + V3.w;
return Result;
Reference
https://docs.microsoft.com/en-us/windows/win32/api/directxmath/nf-directxmath-XMVectorMultiplyAdd