Navigation
API > API/Runtime > API/Runtime/Core > API/Runtime/Core/Math > API/Runtime/Core/Math/VectorCross
References
| Module | Core |
| Header | /Engine/Source/Runtime/Core/Public/Math/UnrealMathNeon.h |
| Include | #include "Math/UnrealMathNeon.h" |
VectorRegister4Float VectorCross
(
const VectorRegister4Float & Vec1,
const VectorRegister4Float & Vec2
)
Remarks
Calculates the cross product of two vectors (XYZ components). W of the input should be 0, and will remain 0. cross(Vec1.xyz, Vec2.xyz). W of the input should be 0, and will remain 0.
Parameters
| Name | Description |
|---|---|
| Vec1 | 1st vector |
| Vec2 | 2nd vector |