Navigation
API > API/Runtime > API/Runtime/ChaosCore
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
VectorRegister4Float Chaos::Private::VectorCrossNoFMA
(
const VectorRegister4Float& Vec1, |
Calculates the cross product of two vectors (XYZ components). | Chaos/VectorUtility.h | |
VectorRegister4Double Chaos::Private::VectorCrossNoFMA
(
const VectorRegister4Double& Vec1, |
Calculates the cross product of two vectors (XYZ components). | Chaos/VectorUtility.h |
Chaos::Private::VectorCrossNoFMA(const VectorRegister4Float &, const VectorRegister4Float &)
Description
Calculates the cross product of two vectors (XYZ components). W of the input should be 0, and will remain 0. This function is not using FMA for stability reason, rounding with FMA could cause numerical instability.
| Name | Chaos::Private::VectorCrossNoFMA |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/ChaosCore/Public/Chaos/VectorUtility.h |
| Include Path | #include "Chaos/VectorUtility.h" |
namespace Chaos
{
namespace Private
{
VectorRegister4Float Chaos::Private::VectorCrossNoFMA
(
const VectorRegister4Float & Vec1,
const VectorRegister4Float & Vec2
)
}
}
cross(Vec1.xyz, Vec2.xyz). W of the input should be 0, and will remain 0.
Parameters
| Name | Remarks |
|---|---|
| Vec1 | 1st vector |
| Vec2 | 2nd vector |
Chaos::Private::VectorCrossNoFMA(const VectorRegister4Double &, const VectorRegister4Double &)
Description
Calculates the cross product of two vectors (XYZ components). W of the input should be 0, and will remain 0. This function is not using FMA for stability reason, rounding with FMA could cause numerical instability.
| Name | Chaos::Private::VectorCrossNoFMA |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/ChaosCore/Public/Chaos/VectorUtility.h |
| Include Path | #include "Chaos/VectorUtility.h" |
namespace Chaos
{
namespace Private
{
VectorRegister4Double Chaos::Private::VectorCrossNoFMA
(
const VectorRegister4Double & Vec1,
const VectorRegister4Double & Vec2
)
}
}
cross(Vec1.xyz, Vec2.xyz). W of the input should be 0, and will remain 0.
Parameters
| Name | Remarks |
|---|---|
| Vec1 | 1st vector |
| Vec2 | 2nd vector |