Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
GlobalVectorConstants Namespace Reference

Functions

VectorRegister4Float XYZMask ()
 
VectorRegister4Double DoubleXYZMask ()
 
VectorRegister4Float SignBit ()
 
VectorRegister4Float SignMask ()
 
VectorRegister4Float AllMask ()
 
VectorRegister4Double DoubleAllMask ()
 
VectorRegister4Double DoubleSignBit ()
 
VectorRegister4Double DoubleSignMask ()
 
VectorRegister4Float FloatInfinity ()
 
VectorRegister4Double DoubleInfinity ()
 
VectorRegister4Float FloatAlmostTwo ()
 
VectorRegister4Double DoubleAlmostTwo ()
 

Variables

constexpr VectorRegister AnimWeightThreshold = MakeVectorRegisterConstant(ZERO_ANIMWEIGHT_THRESH_DOUBLE, ZERO_ANIMWEIGHT_THRESH_DOUBLE, ZERO_ANIMWEIGHT_THRESH_DOUBLE, ZERO_ANIMWEIGHT_THRESH_DOUBLE)
 
constexpr VectorRegister RotationSignificantThreshold = MakeVectorRegisterConstant(1.0 - UE_DELTA*UE_DELTA, 1.0 - UE_DELTA*UE_DELTA, 1.0 - UE_DELTA*UE_DELTA, 1.0 - UE_DELTA*UE_DELTA)
 
constexpr VectorRegister4Float FloatOne = MakeVectorRegisterFloatConstant(1.f, 1.f, 1.f, 1.f)
 
constexpr VectorRegister4Float FloatZero = MakeVectorRegisterFloatConstant(0.f, 0.f, 0.f, 0.f)
 
constexpr VectorRegister4Float FloatMinusOne = MakeVectorRegisterFloatConstant(-1.f, -1.f, -1.f, -1.f)
 
constexpr VectorRegister4Float Float0001 = MakeVectorRegisterFloatConstant(0.f, 0.f, 0.f, 1.f)
 
constexpr VectorRegister4Float Float1000 = MakeVectorRegisterFloatConstant(1.f, 0.f, 0.f, 0.f)
 
constexpr VectorRegister4Float Float1110 = MakeVectorRegisterFloatConstant(1.f, 1.f, 1.f, 0.f)
 
constexpr VectorRegister4Float SmallLengthThreshold = MakeVectorRegisterFloatConstant(1.e-8f, 1.e-8f, 1.e-8f, 1.e-8f)
 
constexpr VectorRegister4Float FloatOneHundredth = MakeVectorRegisterFloatConstant(0.01f, 0.01f, 0.01f, 0.01f)
 
constexpr VectorRegister4Float Float111_Minus1 = MakeVectorRegisterFloatConstant( 1.f, 1.f, 1.f, -1.f )
 
constexpr VectorRegister4Float FloatMinus1_111 = MakeVectorRegisterFloatConstant( -1.f, 1.f, 1.f, 1.f )
 
constexpr VectorRegister4Float FloatOneHalf = MakeVectorRegisterFloatConstant( 0.5f, 0.5f, 0.5f, 0.5f )
 
constexpr VectorRegister4Float FloatMinusOneHalf = MakeVectorRegisterFloatConstant( -0.5f, -0.5f, -0.5f, -0.5f )
 
constexpr VectorRegister4Float KindaSmallNumber = MakeVectorRegisterFloatConstant( UE_KINDA_SMALL_NUMBER, UE_KINDA_SMALL_NUMBER, UE_KINDA_SMALL_NUMBER, UE_KINDA_SMALL_NUMBER )
 
constexpr VectorRegister4Float SmallNumber = MakeVectorRegisterFloatConstant( UE_SMALL_NUMBER, UE_SMALL_NUMBER, UE_SMALL_NUMBER, UE_SMALL_NUMBER )
 
constexpr VectorRegister4Float ThreshQuatNormalized = MakeVectorRegisterFloatConstant( UE_THRESH_QUAT_NORMALIZED, UE_THRESH_QUAT_NORMALIZED, UE_THRESH_QUAT_NORMALIZED, UE_THRESH_QUAT_NORMALIZED )
 
constexpr VectorRegister4Float BigNumber = MakeVectorRegisterFloatConstant(UE_BIG_NUMBER, UE_BIG_NUMBER, UE_BIG_NUMBER, UE_BIG_NUMBER)
 
constexpr VectorRegister2Double DoubleOne2d = MakeVectorRegister2DoubleConstant(1.0, 1.0)
 
constexpr VectorRegister4Double DoubleOne = MakeVectorRegisterDoubleConstant(1.0, 1.0, 1.0, 1.0)
 
constexpr VectorRegister4Double DoubleZero = MakeVectorRegisterDoubleConstant(0.0, 0.0, 0.0, 0.0)
 
constexpr VectorRegister4Double DoubleMinusOne = MakeVectorRegisterDoubleConstant(-1.0, -1.0, -1.0, -1.0)
 
constexpr VectorRegister4Double Double0001 = MakeVectorRegisterDoubleConstant(0.0f, 0.0, 0.0, 1.0)
 
constexpr VectorRegister4Double Double1000 = MakeVectorRegisterDoubleConstant(1.0, 0.0, 0.0, 0.0)
 
constexpr VectorRegister4Double Double1110 = MakeVectorRegisterDoubleConstant(1.0, 1.0, 1.0, 0.0)
 
constexpr VectorRegister4Double DoubleSmallLengthThreshold = MakeVectorRegisterDoubleConstant(1.e-8, 1.e-8, 1.e-8, 1.e-8)
 
constexpr VectorRegister4Double DoubleOneHundredth = MakeVectorRegisterDoubleConstant(0.01, 0.01, 0.01, 0.01)
 
constexpr VectorRegister4Double Double111_Minus1 = MakeVectorRegisterDoubleConstant(1., 1., 1., -1.)
 
constexpr VectorRegister4Double DoubleMinus1_111 = MakeVectorRegisterDoubleConstant(-1., 1., 1., 1.)
 
constexpr VectorRegister4Double DoubleOneHalf = MakeVectorRegisterDoubleConstant(0.5, 0.5, 0.5, 0.5)
 
constexpr VectorRegister4Double DoubleMinusOneHalf = MakeVectorRegisterDoubleConstant(-0.5, -0.5, -0.5, -0.5)
 
constexpr VectorRegister4Double DoubleKindaSmallNumber = MakeVectorRegisterDoubleConstant(UE_DOUBLE_KINDA_SMALL_NUMBER, UE_DOUBLE_KINDA_SMALL_NUMBER, UE_DOUBLE_KINDA_SMALL_NUMBER, UE_DOUBLE_KINDA_SMALL_NUMBER)
 
constexpr VectorRegister4Double DoubleSmallNumber = MakeVectorRegisterDoubleConstant(UE_DOUBLE_SMALL_NUMBER, UE_DOUBLE_SMALL_NUMBER, UE_DOUBLE_SMALL_NUMBER, UE_DOUBLE_SMALL_NUMBER)
 
constexpr VectorRegister4Double DoubleThreshQuatNormalized = MakeVectorRegisterDoubleConstant(UE_DOUBLE_THRESH_QUAT_NORMALIZED, UE_DOUBLE_THRESH_QUAT_NORMALIZED, UE_DOUBLE_THRESH_QUAT_NORMALIZED, UE_DOUBLE_THRESH_QUAT_NORMALIZED)
 
constexpr VectorRegister4Double DoubleBigNumber = MakeVectorRegisterDoubleConstant(UE_DOUBLE_BIG_NUMBER, UE_DOUBLE_BIG_NUMBER, UE_DOUBLE_BIG_NUMBER, UE_DOUBLE_BIG_NUMBER)
 
constexpr VectorRegister Vector0001 = MakeVectorRegisterConstant(0.0, 0.0, 0.0, 1.0)
 
constexpr VectorRegister Vector1110 = MakeVectorRegisterConstant(1.0, 1.0, 1.0, 0.0)
 
constexpr VectorRegister4Int IntOne = MakeVectorRegisterIntConstant(1, 1, 1, 1)
 
constexpr VectorRegister4Int IntZero = MakeVectorRegisterIntConstant(0, 0, 0, 0)
 
constexpr VectorRegister4Int IntMinusOne = MakeVectorRegisterIntConstant(-1, -1, -1, -1)
 
constexpr VectorRegister4Float QINV_SIGN_MASK = MakeVectorRegisterFloatConstant( -1.f, -1.f, -1.f, 1.f )
 
constexpr VectorRegister4Double DOUBLE_QINV_SIGN_MASK = MakeVectorRegisterDoubleConstant(-1., -1., -1., 1.)
 
constexpr VectorRegister4Float QMULTI_SIGN_MASK0 = MakeVectorRegisterFloatConstant( 1.f, -1.f, 1.f, -1.f )
 
constexpr VectorRegister4Float QMULTI_SIGN_MASK1 = MakeVectorRegisterFloatConstant( 1.f, 1.f, -1.f, -1.f )
 
constexpr VectorRegister4Float QMULTI_SIGN_MASK2 = MakeVectorRegisterFloatConstant( -1.f, 1.f, 1.f, -1.f )
 
constexpr VectorRegister4Double DOUBLE_QMULTI_SIGN_MASK0 = MakeVectorRegisterDoubleConstant(1., -1., 1., -1.)
 
constexpr VectorRegister4Double DOUBLE_QMULTI_SIGN_MASK1 = MakeVectorRegisterDoubleConstant(1., 1., -1., -1.)
 
constexpr VectorRegister4Double DOUBLE_QMULTI_SIGN_MASK2 = MakeVectorRegisterDoubleConstant(-1., 1., 1., -1.)
 
constexpr VectorRegister4Float DEG_TO_RAD = MakeVectorRegisterConstant(UE_PI/(180.f), UE_PI/(180.f), UE_PI/(180.f), UE_PI/(180.f))
 
constexpr VectorRegister4Float DEG_TO_RAD_HALF = MakeVectorRegisterConstant((UE_PI/180.f)*0.5f, (UE_PI/180.f)*0.5f, (UE_PI/180.f)*0.5f, (UE_PI/180.f)*0.5f)
 
constexpr VectorRegister4Float RAD_TO_DEG = MakeVectorRegisterConstant((180.f)/UE_PI, (180.f)/UE_PI, (180.f)/UE_PI, (180.f)/UE_PI)
 
constexpr VectorRegister4Double DOUBLE_DEG_TO_RAD = MakeVectorRegisterConstant(UE_DOUBLE_PI/(180.), UE_DOUBLE_PI/(180.), UE_DOUBLE_PI/(180.), UE_DOUBLE_PI/(180.))
 
constexpr VectorRegister4Double DOUBLE_DEG_TO_RAD_HALF = MakeVectorRegisterConstant((UE_DOUBLE_PI/180.) * 0.5, (UE_DOUBLE_PI/180.) * 0.5, (UE_DOUBLE_PI/180.) * 0.5, (UE_DOUBLE_PI/180.) * 0.5)
 
constexpr VectorRegister4Double DOUBLE_RAD_TO_DEG = MakeVectorRegisterConstant((180.)/UE_DOUBLE_PI, (180.)/UE_DOUBLE_PI, (180.)/UE_DOUBLE_PI, (180.)/UE_DOUBLE_PI)
 
constexpr VectorRegister4Int IntSignBit = MakeVectorRegisterIntConstant( 0x80000000, 0x80000000, 0x80000000, 0x80000000)
 
constexpr VectorRegister4Int IntSignMask = MakeVectorRegisterIntConstant(~0x80000000, ~0x80000000, ~0x80000000, ~0x80000000)
 
constexpr VectorRegister4Int IntAllMask = MakeVectorRegisterIntConstant( ~uint32(0), ~uint32(0), ~uint32(0), ~uint32(0))
 
constexpr VectorRegister4Float Pi = MakeVectorRegisterConstant(UE_PI, UE_PI, UE_PI, UE_PI)
 
constexpr VectorRegister4Float TwoPi = MakeVectorRegisterConstant(2.0f*UE_PI, 2.0f*UE_PI, 2.0f*UE_PI, 2.0f*UE_PI)
 
constexpr VectorRegister4Float PiByTwo = MakeVectorRegisterConstant(0.5f*UE_PI, 0.5f*UE_PI, 0.5f*UE_PI, 0.5f*UE_PI)
 
constexpr VectorRegister4Float PiByFour = MakeVectorRegisterConstant(0.25f*UE_PI, 0.25f*UE_PI, 0.25f*UE_PI, 0.25f*UE_PI)
 
constexpr VectorRegister4Float OneOverPi = MakeVectorRegisterConstant(1.0f / UE_PI, 1.0f / UE_PI, 1.0f / UE_PI, 1.0f / UE_PI)
 
constexpr VectorRegister4Float OneOverTwoPi = MakeVectorRegisterConstant(1.0f / (2.0f*UE_PI), 1.0f / (2.0f*UE_PI), 1.0f / (2.0f*UE_PI), 1.0f / (2.0f*UE_PI))
 
constexpr VectorRegister4Double DoublePi = MakeVectorRegisterDoubleConstant(UE_DOUBLE_PI, UE_DOUBLE_PI, UE_DOUBLE_PI, UE_DOUBLE_PI)
 
constexpr VectorRegister4Double DoubleTwoPi = MakeVectorRegisterDoubleConstant(2.0 * UE_DOUBLE_PI, 2.0 * UE_DOUBLE_PI, 2.0 * UE_DOUBLE_PI, 2.0 * UE_DOUBLE_PI)
 
constexpr VectorRegister4Double DoublePiByTwo = MakeVectorRegisterDoubleConstant(0.5 * UE_DOUBLE_PI, 0.5 * UE_DOUBLE_PI, 0.5 * UE_DOUBLE_PI, 0.5 * UE_DOUBLE_PI)
 
constexpr VectorRegister4Double DoublePiByFour = MakeVectorRegisterDoubleConstant(0.25 * UE_DOUBLE_PI, 0.25 * UE_DOUBLE_PI, 0.25 * UE_DOUBLE_PI, 0.25 * UE_DOUBLE_PI)
 
constexpr VectorRegister4Double DoubleOneOverPi = MakeVectorRegisterDoubleConstant(1.0 / UE_DOUBLE_PI, 1.0 / UE_DOUBLE_PI, 1.0 / UE_DOUBLE_PI, 1.0 / UE_DOUBLE_PI)
 
constexpr VectorRegister4Double DoubleOneOverTwoPi = MakeVectorRegisterDoubleConstant(1.0 / (2.0 * UE_DOUBLE_PI), 1.0 / (2.0 * UE_DOUBLE_PI), 1.0 / (2.0 * UE_DOUBLE_PI), 1.0 / (2.0 * UE_DOUBLE_PI))
 
constexpr VectorRegister4Float Float255 = MakeVectorRegisterConstant(255.0f, 255.0f, 255.0f, 255.0f)
 
constexpr VectorRegister4Float Float127 = MakeVectorRegisterConstant(127.0f, 127.0f, 127.0f, 127.0f)
 
constexpr VectorRegister4Float FloatNeg127 = MakeVectorRegisterConstant(-127.0f, -127.0f, -127.0f, -127.0f)
 
constexpr VectorRegister4Float Float360 = MakeVectorRegisterConstant(360.f, 360.f, 360.f, 360.f)
 
constexpr VectorRegister4Float Float180 = MakeVectorRegisterConstant(180.f, 180.f, 180.f, 180.f)
 
constexpr VectorRegister4Double Double255 = MakeVectorRegisterDoubleConstant(255.0, 255.0, 255.0, 255.0)
 
constexpr VectorRegister4Double Double127 = MakeVectorRegisterDoubleConstant(127.0, 127.0, 127.0, 127.0)
 
constexpr VectorRegister4Double DoubleNeg127 = MakeVectorRegisterDoubleConstant(-127.0, -127.0, -127.0, -127.0)
 
constexpr VectorRegister4Double Double360 = MakeVectorRegisterDoubleConstant(360., 360., 360., 360.)
 
constexpr VectorRegister4Double Double180 = MakeVectorRegisterDoubleConstant(180., 180., 180., 180.)
 
constexpr VectorRegister4Float FloatNonFractional = MakeVectorRegisterConstant(UE_FLOAT_NON_FRACTIONAL, UE_FLOAT_NON_FRACTIONAL, UE_FLOAT_NON_FRACTIONAL, UE_FLOAT_NON_FRACTIONAL)
 
constexpr VectorRegister4Double DoubleNonFractional = MakeVectorRegisterDoubleConstant(UE_DOUBLE_NON_FRACTIONAL, UE_DOUBLE_NON_FRACTIONAL, UE_DOUBLE_NON_FRACTIONAL, UE_DOUBLE_NON_FRACTIONAL)
 
constexpr VectorRegister4Float FloatTwo = MakeVectorRegisterConstant(2.0f, 2.0f, 2.0f, 2.0f)
 
constexpr uint32 AlmostTwoBits = 0x3fffffff
 
constexpr VectorRegister4Double DoubleTwo = MakeVectorRegisterDoubleConstant(2.0, 2.0, 2.0, 2.0)
 
constexpr uint64 DoubleAlmostTwoBits = 0x3FFFFFFFFFFFFFFF
 

Function Documentation

◆ AllMask()

VectorRegister4Float GlobalVectorConstants::AllMask ( )
inline

Definition at line 111 of file UnrealMathVectorConstants.h.

◆ DoubleAllMask()

VectorRegister4Double GlobalVectorConstants::DoubleAllMask ( )
inline

Definition at line 112 of file UnrealMathVectorConstants.h.

◆ DoubleAlmostTwo()

VectorRegister4Double GlobalVectorConstants::DoubleAlmostTwo ( )
inline

Definition at line 157 of file UnrealMathVectorConstants.h.

◆ DoubleInfinity()

VectorRegister4Double GlobalVectorConstants::DoubleInfinity ( )
inline

Definition at line 119 of file UnrealMathVectorConstants.h.

◆ DoubleSignBit()

VectorRegister4Double GlobalVectorConstants::DoubleSignBit ( )
inline

Definition at line 114 of file UnrealMathVectorConstants.h.

◆ DoubleSignMask()

VectorRegister4Double GlobalVectorConstants::DoubleSignMask ( )
inline

Definition at line 115 of file UnrealMathVectorConstants.h.

◆ DoubleXYZMask()

VectorRegister4Double GlobalVectorConstants::DoubleXYZMask ( )
inline

Definition at line 102 of file UnrealMathVectorConstants.h.

◆ FloatAlmostTwo()

VectorRegister4Float GlobalVectorConstants::FloatAlmostTwo ( )
inline

Definition at line 153 of file UnrealMathVectorConstants.h.

◆ FloatInfinity()

VectorRegister4Float GlobalVectorConstants::FloatInfinity ( )
inline

Vector full of positive infinity

Definition at line 118 of file UnrealMathVectorConstants.h.

◆ SignBit()

VectorRegister4Float GlobalVectorConstants::SignBit ( )
inline

Bitmask to AND out the sign bit of each components in a vector

Definition at line 105 of file UnrealMathVectorConstants.h.

◆ SignMask()

VectorRegister4Float GlobalVectorConstants::SignMask ( )
inline

Definition at line 106 of file UnrealMathVectorConstants.h.

◆ XYZMask()

VectorRegister4Float GlobalVectorConstants::XYZMask ( )
inline

Bitmask to AND out the XYZ components in a vector

Definition at line 101 of file UnrealMathVectorConstants.h.

Variable Documentation

◆ AlmostTwoBits

constexpr uint32 GlobalVectorConstants::AlmostTwoBits = 0x3fffffff
inlineconstexpr

Definition at line 152 of file UnrealMathVectorConstants.h.

◆ AnimWeightThreshold

◆ BigNumber

◆ DEG_TO_RAD

constexpr VectorRegister4Float GlobalVectorConstants::DEG_TO_RAD = MakeVectorRegisterConstant(UE_PI/(180.f), UE_PI/(180.f), UE_PI/(180.f), UE_PI/(180.f))
inlineconstexpr

Definition at line 93 of file UnrealMathVectorConstants.h.

◆ DEG_TO_RAD_HALF

constexpr VectorRegister4Float GlobalVectorConstants::DEG_TO_RAD_HALF = MakeVectorRegisterConstant((UE_PI/180.f)*0.5f, (UE_PI/180.f)*0.5f, (UE_PI/180.f)*0.5f, (UE_PI/180.f)*0.5f)
inlineconstexpr

Definition at line 94 of file UnrealMathVectorConstants.h.

◆ Double0001

constexpr VectorRegister4Double GlobalVectorConstants::Double0001 = MakeVectorRegisterDoubleConstant(0.0f, 0.0, 0.0, 1.0)
inlineconstexpr

Definition at line 61 of file UnrealMathVectorConstants.h.

◆ Double1000

constexpr VectorRegister4Double GlobalVectorConstants::Double1000 = MakeVectorRegisterDoubleConstant(1.0, 0.0, 0.0, 0.0)
inlineconstexpr

Definition at line 62 of file UnrealMathVectorConstants.h.

◆ Double1110

constexpr VectorRegister4Double GlobalVectorConstants::Double1110 = MakeVectorRegisterDoubleConstant(1.0, 1.0, 1.0, 0.0)
inlineconstexpr

Definition at line 63 of file UnrealMathVectorConstants.h.

◆ Double111_Minus1

constexpr VectorRegister4Double GlobalVectorConstants::Double111_Minus1 = MakeVectorRegisterDoubleConstant(1., 1., 1., -1.)
inlineconstexpr

Definition at line 66 of file UnrealMathVectorConstants.h.

◆ Double127

constexpr VectorRegister4Double GlobalVectorConstants::Double127 = MakeVectorRegisterDoubleConstant(127.0, 127.0, 127.0, 127.0)
inlineconstexpr

Definition at line 142 of file UnrealMathVectorConstants.h.

◆ Double180

constexpr VectorRegister4Double GlobalVectorConstants::Double180 = MakeVectorRegisterDoubleConstant(180., 180., 180., 180.)
inlineconstexpr

Definition at line 145 of file UnrealMathVectorConstants.h.

◆ Double255

constexpr VectorRegister4Double GlobalVectorConstants::Double255 = MakeVectorRegisterDoubleConstant(255.0, 255.0, 255.0, 255.0)
inlineconstexpr

Definition at line 141 of file UnrealMathVectorConstants.h.

◆ Double360

constexpr VectorRegister4Double GlobalVectorConstants::Double360 = MakeVectorRegisterDoubleConstant(360., 360., 360., 360.)
inlineconstexpr

Definition at line 144 of file UnrealMathVectorConstants.h.

◆ DOUBLE_DEG_TO_RAD

constexpr VectorRegister4Double GlobalVectorConstants::DOUBLE_DEG_TO_RAD = MakeVectorRegisterConstant(UE_DOUBLE_PI/(180.), UE_DOUBLE_PI/(180.), UE_DOUBLE_PI/(180.), UE_DOUBLE_PI/(180.))
inlineconstexpr

Definition at line 96 of file UnrealMathVectorConstants.h.

◆ DOUBLE_DEG_TO_RAD_HALF

constexpr VectorRegister4Double GlobalVectorConstants::DOUBLE_DEG_TO_RAD_HALF = MakeVectorRegisterConstant((UE_DOUBLE_PI/180.) * 0.5, (UE_DOUBLE_PI/180.) * 0.5, (UE_DOUBLE_PI/180.) * 0.5, (UE_DOUBLE_PI/180.) * 0.5)
inlineconstexpr

Definition at line 97 of file UnrealMathVectorConstants.h.

◆ DOUBLE_QINV_SIGN_MASK

constexpr VectorRegister4Double GlobalVectorConstants::DOUBLE_QINV_SIGN_MASK = MakeVectorRegisterDoubleConstant(-1., -1., -1., 1.)
inlineconstexpr

Definition at line 84 of file UnrealMathVectorConstants.h.

◆ DOUBLE_QMULTI_SIGN_MASK0

constexpr VectorRegister4Double GlobalVectorConstants::DOUBLE_QMULTI_SIGN_MASK0 = MakeVectorRegisterDoubleConstant(1., -1., 1., -1.)
inlineconstexpr

Definition at line 89 of file UnrealMathVectorConstants.h.

◆ DOUBLE_QMULTI_SIGN_MASK1

constexpr VectorRegister4Double GlobalVectorConstants::DOUBLE_QMULTI_SIGN_MASK1 = MakeVectorRegisterDoubleConstant(1., 1., -1., -1.)
inlineconstexpr

Definition at line 90 of file UnrealMathVectorConstants.h.

◆ DOUBLE_QMULTI_SIGN_MASK2

constexpr VectorRegister4Double GlobalVectorConstants::DOUBLE_QMULTI_SIGN_MASK2 = MakeVectorRegisterDoubleConstant(-1., 1., 1., -1.)
inlineconstexpr

Definition at line 91 of file UnrealMathVectorConstants.h.

◆ DOUBLE_RAD_TO_DEG

constexpr VectorRegister4Double GlobalVectorConstants::DOUBLE_RAD_TO_DEG = MakeVectorRegisterConstant((180.)/UE_DOUBLE_PI, (180.)/UE_DOUBLE_PI, (180.)/UE_DOUBLE_PI, (180.)/UE_DOUBLE_PI)
inlineconstexpr

Definition at line 98 of file UnrealMathVectorConstants.h.

◆ DoubleAlmostTwoBits

constexpr uint64 GlobalVectorConstants::DoubleAlmostTwoBits = 0x3FFFFFFFFFFFFFFF
inlineconstexpr

Definition at line 156 of file UnrealMathVectorConstants.h.

◆ DoubleBigNumber

◆ DoubleKindaSmallNumber

◆ DoubleMinus1_111

constexpr VectorRegister4Double GlobalVectorConstants::DoubleMinus1_111 = MakeVectorRegisterDoubleConstant(-1., 1., 1., 1.)
inlineconstexpr

Definition at line 67 of file UnrealMathVectorConstants.h.

◆ DoubleMinusOne

constexpr VectorRegister4Double GlobalVectorConstants::DoubleMinusOne = MakeVectorRegisterDoubleConstant(-1.0, -1.0, -1.0, -1.0)
inlineconstexpr

Definition at line 60 of file UnrealMathVectorConstants.h.

◆ DoubleMinusOneHalf

constexpr VectorRegister4Double GlobalVectorConstants::DoubleMinusOneHalf = MakeVectorRegisterDoubleConstant(-0.5, -0.5, -0.5, -0.5)
inlineconstexpr

Definition at line 69 of file UnrealMathVectorConstants.h.

◆ DoubleNeg127

constexpr VectorRegister4Double GlobalVectorConstants::DoubleNeg127 = MakeVectorRegisterDoubleConstant(-127.0, -127.0, -127.0, -127.0)
inlineconstexpr

Definition at line 143 of file UnrealMathVectorConstants.h.

◆ DoubleNonFractional

◆ DoubleOne

constexpr VectorRegister4Double GlobalVectorConstants::DoubleOne = MakeVectorRegisterDoubleConstant(1.0, 1.0, 1.0, 1.0)
inlineconstexpr

Definition at line 58 of file UnrealMathVectorConstants.h.

◆ DoubleOne2d

constexpr VectorRegister2Double GlobalVectorConstants::DoubleOne2d = MakeVectorRegister2DoubleConstant(1.0, 1.0)
inlineconstexpr

Definition at line 57 of file UnrealMathVectorConstants.h.

◆ DoubleOneHalf

constexpr VectorRegister4Double GlobalVectorConstants::DoubleOneHalf = MakeVectorRegisterDoubleConstant(0.5, 0.5, 0.5, 0.5)
inlineconstexpr

Definition at line 68 of file UnrealMathVectorConstants.h.

◆ DoubleOneHundredth

constexpr VectorRegister4Double GlobalVectorConstants::DoubleOneHundredth = MakeVectorRegisterDoubleConstant(0.01, 0.01, 0.01, 0.01)
inlineconstexpr

Definition at line 65 of file UnrealMathVectorConstants.h.

◆ DoubleOneOverPi

constexpr VectorRegister4Double GlobalVectorConstants::DoubleOneOverPi = MakeVectorRegisterDoubleConstant(1.0 / UE_DOUBLE_PI, 1.0 / UE_DOUBLE_PI, 1.0 / UE_DOUBLE_PI, 1.0 / UE_DOUBLE_PI)
inlineconstexpr

Definition at line 132 of file UnrealMathVectorConstants.h.

◆ DoubleOneOverTwoPi

constexpr VectorRegister4Double GlobalVectorConstants::DoubleOneOverTwoPi = MakeVectorRegisterDoubleConstant(1.0 / (2.0 * UE_DOUBLE_PI), 1.0 / (2.0 * UE_DOUBLE_PI), 1.0 / (2.0 * UE_DOUBLE_PI), 1.0 / (2.0 * UE_DOUBLE_PI))
inlineconstexpr

Definition at line 133 of file UnrealMathVectorConstants.h.

◆ DoublePi

◆ DoublePiByFour

constexpr VectorRegister4Double GlobalVectorConstants::DoublePiByFour = MakeVectorRegisterDoubleConstant(0.25 * UE_DOUBLE_PI, 0.25 * UE_DOUBLE_PI, 0.25 * UE_DOUBLE_PI, 0.25 * UE_DOUBLE_PI)
inlineconstexpr

Definition at line 131 of file UnrealMathVectorConstants.h.

◆ DoublePiByTwo

constexpr VectorRegister4Double GlobalVectorConstants::DoublePiByTwo = MakeVectorRegisterDoubleConstant(0.5 * UE_DOUBLE_PI, 0.5 * UE_DOUBLE_PI, 0.5 * UE_DOUBLE_PI, 0.5 * UE_DOUBLE_PI)
inlineconstexpr

Definition at line 130 of file UnrealMathVectorConstants.h.

◆ DoubleSmallLengthThreshold

constexpr VectorRegister4Double GlobalVectorConstants::DoubleSmallLengthThreshold = MakeVectorRegisterDoubleConstant(1.e-8, 1.e-8, 1.e-8, 1.e-8)
inlineconstexpr

Definition at line 64 of file UnrealMathVectorConstants.h.

◆ DoubleSmallNumber

◆ DoubleThreshQuatNormalized

◆ DoubleTwo

constexpr VectorRegister4Double GlobalVectorConstants::DoubleTwo = MakeVectorRegisterDoubleConstant(2.0, 2.0, 2.0, 2.0)
inlineconstexpr

Definition at line 155 of file UnrealMathVectorConstants.h.

◆ DoubleTwoPi

constexpr VectorRegister4Double GlobalVectorConstants::DoubleTwoPi = MakeVectorRegisterDoubleConstant(2.0 * UE_DOUBLE_PI, 2.0 * UE_DOUBLE_PI, 2.0 * UE_DOUBLE_PI, 2.0 * UE_DOUBLE_PI)
inlineconstexpr

Definition at line 129 of file UnrealMathVectorConstants.h.

◆ DoubleZero

constexpr VectorRegister4Double GlobalVectorConstants::DoubleZero = MakeVectorRegisterDoubleConstant(0.0, 0.0, 0.0, 0.0)
inlineconstexpr

Definition at line 59 of file UnrealMathVectorConstants.h.

◆ Float0001

constexpr VectorRegister4Float GlobalVectorConstants::Float0001 = MakeVectorRegisterFloatConstant(0.f, 0.f, 0.f, 1.f)
inlineconstexpr

Definition at line 43 of file UnrealMathVectorConstants.h.

◆ Float1000

constexpr VectorRegister4Float GlobalVectorConstants::Float1000 = MakeVectorRegisterFloatConstant(1.f, 0.f, 0.f, 0.f)
inlineconstexpr

Definition at line 44 of file UnrealMathVectorConstants.h.

◆ Float1110

constexpr VectorRegister4Float GlobalVectorConstants::Float1110 = MakeVectorRegisterFloatConstant(1.f, 1.f, 1.f, 0.f)
inlineconstexpr

Definition at line 45 of file UnrealMathVectorConstants.h.

◆ Float111_Minus1

constexpr VectorRegister4Float GlobalVectorConstants::Float111_Minus1 = MakeVectorRegisterFloatConstant( 1.f, 1.f, 1.f, -1.f )
inlineconstexpr

Definition at line 48 of file UnrealMathVectorConstants.h.

◆ Float127

constexpr VectorRegister4Float GlobalVectorConstants::Float127 = MakeVectorRegisterConstant(127.0f, 127.0f, 127.0f, 127.0f)
inlineconstexpr

Definition at line 136 of file UnrealMathVectorConstants.h.

◆ Float180

constexpr VectorRegister4Float GlobalVectorConstants::Float180 = MakeVectorRegisterConstant(180.f, 180.f, 180.f, 180.f)
inlineconstexpr

Definition at line 139 of file UnrealMathVectorConstants.h.

◆ Float255

constexpr VectorRegister4Float GlobalVectorConstants::Float255 = MakeVectorRegisterConstant(255.0f, 255.0f, 255.0f, 255.0f)
inlineconstexpr

Definition at line 135 of file UnrealMathVectorConstants.h.

◆ Float360

constexpr VectorRegister4Float GlobalVectorConstants::Float360 = MakeVectorRegisterConstant(360.f, 360.f, 360.f, 360.f)
inlineconstexpr

Definition at line 138 of file UnrealMathVectorConstants.h.

◆ FloatMinus1_111

constexpr VectorRegister4Float GlobalVectorConstants::FloatMinus1_111 = MakeVectorRegisterFloatConstant( -1.f, 1.f, 1.f, 1.f )
inlineconstexpr

Definition at line 49 of file UnrealMathVectorConstants.h.

◆ FloatMinusOne

constexpr VectorRegister4Float GlobalVectorConstants::FloatMinusOne = MakeVectorRegisterFloatConstant(-1.f, -1.f, -1.f, -1.f)
inlineconstexpr

Definition at line 42 of file UnrealMathVectorConstants.h.

◆ FloatMinusOneHalf

constexpr VectorRegister4Float GlobalVectorConstants::FloatMinusOneHalf = MakeVectorRegisterFloatConstant( -0.5f, -0.5f, -0.5f, -0.5f )
inlineconstexpr

Definition at line 51 of file UnrealMathVectorConstants.h.

◆ FloatNeg127

constexpr VectorRegister4Float GlobalVectorConstants::FloatNeg127 = MakeVectorRegisterConstant(-127.0f, -127.0f, -127.0f, -127.0f)
inlineconstexpr

Definition at line 137 of file UnrealMathVectorConstants.h.

◆ FloatNonFractional

◆ FloatOne

constexpr VectorRegister4Float GlobalVectorConstants::FloatOne = MakeVectorRegisterFloatConstant(1.f, 1.f, 1.f, 1.f)
inlineconstexpr

Definition at line 40 of file UnrealMathVectorConstants.h.

◆ FloatOneHalf

constexpr VectorRegister4Float GlobalVectorConstants::FloatOneHalf = MakeVectorRegisterFloatConstant( 0.5f, 0.5f, 0.5f, 0.5f )
inlineconstexpr

Definition at line 50 of file UnrealMathVectorConstants.h.

◆ FloatOneHundredth

constexpr VectorRegister4Float GlobalVectorConstants::FloatOneHundredth = MakeVectorRegisterFloatConstant(0.01f, 0.01f, 0.01f, 0.01f)
inlineconstexpr

Definition at line 47 of file UnrealMathVectorConstants.h.

◆ FloatTwo

constexpr VectorRegister4Float GlobalVectorConstants::FloatTwo = MakeVectorRegisterConstant(2.0f, 2.0f, 2.0f, 2.0f)
inlineconstexpr

Definition at line 151 of file UnrealMathVectorConstants.h.

◆ FloatZero

constexpr VectorRegister4Float GlobalVectorConstants::FloatZero = MakeVectorRegisterFloatConstant(0.f, 0.f, 0.f, 0.f)
inlineconstexpr

Definition at line 41 of file UnrealMathVectorConstants.h.

◆ IntAllMask

constexpr VectorRegister4Int GlobalVectorConstants::IntAllMask = MakeVectorRegisterIntConstant( ~uint32(0), ~uint32(0), ~uint32(0), ~uint32(0))
inlineconstexpr

Definition at line 110 of file UnrealMathVectorConstants.h.

◆ IntMinusOne

constexpr VectorRegister4Int GlobalVectorConstants::IntMinusOne = MakeVectorRegisterIntConstant(-1, -1, -1, -1)
inlineconstexpr

Definition at line 80 of file UnrealMathVectorConstants.h.

◆ IntOne

constexpr VectorRegister4Int GlobalVectorConstants::IntOne = MakeVectorRegisterIntConstant(1, 1, 1, 1)
inlineconstexpr

Definition at line 78 of file UnrealMathVectorConstants.h.

◆ IntSignBit

constexpr VectorRegister4Int GlobalVectorConstants::IntSignBit = MakeVectorRegisterIntConstant( 0x80000000, 0x80000000, 0x80000000, 0x80000000)
inlineconstexpr

Definition at line 107 of file UnrealMathVectorConstants.h.

◆ IntSignMask

constexpr VectorRegister4Int GlobalVectorConstants::IntSignMask = MakeVectorRegisterIntConstant(~0x80000000, ~0x80000000, ~0x80000000, ~0x80000000)
inlineconstexpr

Definition at line 108 of file UnrealMathVectorConstants.h.

◆ IntZero

constexpr VectorRegister4Int GlobalVectorConstants::IntZero = MakeVectorRegisterIntConstant(0, 0, 0, 0)
inlineconstexpr

Definition at line 79 of file UnrealMathVectorConstants.h.

◆ KindaSmallNumber

◆ OneOverPi

constexpr VectorRegister4Float GlobalVectorConstants::OneOverPi = MakeVectorRegisterConstant(1.0f / UE_PI, 1.0f / UE_PI, 1.0f / UE_PI, 1.0f / UE_PI)
inlineconstexpr

Definition at line 125 of file UnrealMathVectorConstants.h.

◆ OneOverTwoPi

constexpr VectorRegister4Float GlobalVectorConstants::OneOverTwoPi = MakeVectorRegisterConstant(1.0f / (2.0f*UE_PI), 1.0f / (2.0f*UE_PI), 1.0f / (2.0f*UE_PI), 1.0f / (2.0f*UE_PI))
inlineconstexpr

Definition at line 126 of file UnrealMathVectorConstants.h.

◆ Pi

constexpr VectorRegister4Float GlobalVectorConstants::Pi = MakeVectorRegisterConstant(UE_PI, UE_PI, UE_PI, UE_PI)
inlineconstexpr

Definition at line 121 of file UnrealMathVectorConstants.h.

◆ PiByFour

constexpr VectorRegister4Float GlobalVectorConstants::PiByFour = MakeVectorRegisterConstant(0.25f*UE_PI, 0.25f*UE_PI, 0.25f*UE_PI, 0.25f*UE_PI)
inlineconstexpr

Definition at line 124 of file UnrealMathVectorConstants.h.

◆ PiByTwo

constexpr VectorRegister4Float GlobalVectorConstants::PiByTwo = MakeVectorRegisterConstant(0.5f*UE_PI, 0.5f*UE_PI, 0.5f*UE_PI, 0.5f*UE_PI)
inlineconstexpr

Definition at line 123 of file UnrealMathVectorConstants.h.

◆ QINV_SIGN_MASK

constexpr VectorRegister4Float GlobalVectorConstants::QINV_SIGN_MASK = MakeVectorRegisterFloatConstant( -1.f, -1.f, -1.f, 1.f )
inlineconstexpr

This is to speed up Quaternion Inverse. Static variable to keep sign of inverse

Definition at line 83 of file UnrealMathVectorConstants.h.

◆ QMULTI_SIGN_MASK0

constexpr VectorRegister4Float GlobalVectorConstants::QMULTI_SIGN_MASK0 = MakeVectorRegisterFloatConstant( 1.f, -1.f, 1.f, -1.f )
inlineconstexpr

Definition at line 86 of file UnrealMathVectorConstants.h.

◆ QMULTI_SIGN_MASK1

constexpr VectorRegister4Float GlobalVectorConstants::QMULTI_SIGN_MASK1 = MakeVectorRegisterFloatConstant( 1.f, 1.f, -1.f, -1.f )
inlineconstexpr

Definition at line 87 of file UnrealMathVectorConstants.h.

◆ QMULTI_SIGN_MASK2

constexpr VectorRegister4Float GlobalVectorConstants::QMULTI_SIGN_MASK2 = MakeVectorRegisterFloatConstant( -1.f, 1.f, 1.f, -1.f )
inlineconstexpr

Definition at line 88 of file UnrealMathVectorConstants.h.

◆ RAD_TO_DEG

constexpr VectorRegister4Float GlobalVectorConstants::RAD_TO_DEG = MakeVectorRegisterConstant((180.f)/UE_PI, (180.f)/UE_PI, (180.f)/UE_PI, (180.f)/UE_PI)
inlineconstexpr

Definition at line 95 of file UnrealMathVectorConstants.h.

◆ RotationSignificantThreshold

constexpr VectorRegister GlobalVectorConstants::RotationSignificantThreshold = MakeVectorRegisterConstant(1.0 - UE_DELTA*UE_DELTA, 1.0 - UE_DELTA*UE_DELTA, 1.0 - UE_DELTA*UE_DELTA, 1.0 - UE_DELTA*UE_DELTA)
inlineconstexpr

Definition at line 123 of file VectorRegister.h.

◆ SmallLengthThreshold

constexpr VectorRegister4Float GlobalVectorConstants::SmallLengthThreshold = MakeVectorRegisterFloatConstant(1.e-8f, 1.e-8f, 1.e-8f, 1.e-8f)
inlineconstexpr

Definition at line 46 of file UnrealMathVectorConstants.h.

◆ SmallNumber

◆ ThreshQuatNormalized

◆ TwoPi

constexpr VectorRegister4Float GlobalVectorConstants::TwoPi = MakeVectorRegisterConstant(2.0f*UE_PI, 2.0f*UE_PI, 2.0f*UE_PI, 2.0f*UE_PI)
inlineconstexpr

Definition at line 122 of file UnrealMathVectorConstants.h.

◆ Vector0001

constexpr VectorRegister GlobalVectorConstants::Vector0001 = MakeVectorRegisterConstant(0.0, 0.0, 0.0, 1.0)
inlineconstexpr

Definition at line 75 of file UnrealMathVectorConstants.h.

◆ Vector1110

constexpr VectorRegister GlobalVectorConstants::Vector1110 = MakeVectorRegisterConstant(1.0, 1.0, 1.0, 0.0)
inlineconstexpr

Definition at line 76 of file UnrealMathVectorConstants.h.