Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/VectorDot4
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathNeon.h |
| Include | #include "Math/UnrealMathNeon.h" |
VectorRegister4Float VectorDot4
(
VectorRegister4Float Vec1,
VectorRegister4Float Vec2
)
Remarks
Calculates the dot4 product of two vectors and returns a vector with the result in all 4 components. Only really efficient on Xbox 360. d = dot4(Vec1.xyzw, Vec2.xyzw), VectorRegister4Float( d, d, d, d )
Parameters
| Name | Description |
|---|---|
| Vec1 | 1st vector |
| Vec2 | 2nd vector |