Navigation
API > API/Runtime > API/Runtime/ChaosCore
Description
Calculates the dot product of two vectors and returns a vector with the result in the first component. W values should be set to 0 on the vector input. This function should be used with caution. Only the returned X should be read.
| Name | Chaos::Private::VectorDot3FastX |
| 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::VectorDot3FastX
(
const VectorRegister4Float & Vec1,
const VectorRegister4Float & Vec2
)
}
}
d = dot3X(Vec1.xyz0, Vec2.xyz0), VectorRegister4Float( d, ?, ?, ? )
Parameters
| Name | Remarks |
|---|---|
| Vec1 | 1st vector set with W equal to 0 |
| Vec2 | 2nd vector set with W equal to 0 |