Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/VectorSubtract
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathNeon.h |
| Include | #include "Math/UnrealMathNeon.h" |
VectorRegister4Float VectorSubtract
(
VectorRegister4Float Vec1,
VectorRegister4Float Vec2
)
Remarks
Subtracts a vector from another (component-wise) and returns the result. VectorRegister4Float( Vec1.x-Vec2.x, Vec1.y-Vec2.y, Vec1.z-Vec2.z, Vec1.w-Vec2.w )
Parameters
| Name | Description |
|---|---|
| Vec1 | 1st vector |
| Vec2 | 2nd vector |