Navigation
API > API/Runtime > API/Runtime/Core
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
VectorRegister4Float VectorNegateMultiplyAdd
(
const VectorRegister4Float& Vec1, |
Multiplies two vectors (component-wise), negates the results and adds it to the third vector i.e. -AB + C = C - AB | Math/UnrealMathFPU.h | |
VectorRegister4Double VectorNegateMultiplyAdd
(
const VectorRegister4Double& Vec1, |
Math/UnrealMathFPU.h |
VectorNegateMultiplyAdd(const VectorRegister4Float &, const VectorRegister4Float &, const VectorRegister4Float &)
Description
Multiplies two vectors (component-wise), negates the results and adds it to the third vector i.e. -AB + C = C - AB
| Name | VectorNegateMultiplyAdd |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathFPU.h |
| Include Path | #include "Math/UnrealMathFPU.h" |
VectorRegister4Float VectorNegateMultiplyAdd
(
const VectorRegister4Float & Vec1,
const VectorRegister4Float & Vec2,
const VectorRegister4Float & Vec3
)
VectorRegister( Vec3.x - Vec1.x*Vec2.x, Vec3.y - Vec1.y*Vec2.y, Vec3.z - Vec1.z*Vec2.z, Vec3.w - Vec1.w*Vec2.w )
Parameters
| Name | Remarks |
|---|---|
| Vec1 | 1st vector |
| Vec2 | 2nd vector |
| Vec3 | 3rd vector |
VectorNegateMultiplyAdd(const VectorRegister4Double &, const VectorRegister4Double &, const VectorRegister4Double &)
| Name | VectorNegateMultiplyAdd |
| Type | function |
| Header File | /Engine/Source/Runtime/Core/Public/Math/UnrealMathFPU.h |
| Include Path | #include "Math/UnrealMathFPU.h" |
VectorRegister4Double VectorNegateMultiplyAdd
(
const VectorRegister4Double & Vec1,
const VectorRegister4Double & Vec2,
const VectorRegister4Double & Vec3
)