90 #if PLATFORM_ENABLE_VECTORINTRINSICS
131 #if PLATFORM_ENABLE_VECTORINTRINSICS
229 if (
X.IsZero() ||
Y.IsZero())
235 Y -= (
Y |
X) / (
X |
X) *
X;
236 Z -= (
Z |
X) / (
X |
X) *
X;
237 Z -= (
Z |
Y) / (
Y |
Y) *
Y;
355 return (
Max +
Min) * 0.5f;
360 return (
Max -
Min) * 0.5f;
418 float A = 1.0f / ( 1.0f +
BasisZ.Z );
426 float Sum = FMath::Abs( N.
X ) + FMath::Abs( N.
Y ) + FMath::Abs( N.
Z );
435 N.
Z = 2.0f - FMath::Abs( N.
X ) - FMath::Abs( N.
Y );
458 for(
int i = 0; i < 3; i++ )
467 if(
Axis[2].
Z < 0.0f )
481 float aX = FMath::Abs(
X );
482 float aY = FMath::Abs(
Y );
505 Rotation[0] = ( FMath::RoundToInt(
OctZ.X * 32767.0f ) + 32768 ) << 0;
506 Rotation[0] |= ( FMath::RoundToInt(
OctZ.Y * 32767.0f ) + 32768 ) << 16;
507 Rotation[1] = FMath::RoundToInt(
Spin0 * 16383.0f * 1.41421356f );
535 for(
int i = 0; i < 3; i++ )
542 for(
int i = 0; i < 3; i++ )
587 for(
int i = 0; i < 3; i++ )
595 for(
int i = 0; i < 3; i++ )
UE_FORCEINLINE_HINT TSharedRef< CastToType, Mode > StaticCastSharedRef(TSharedRef< CastFromType, Mode > const &InSharedRef)
Definition SharedPointer.h:127
#define FVector
Definition IOSSystemIncludes.h:8
UE::Math::TVector2< float > FVector2f
Definition MathFwd.h:74
UE::Math::TBox< double > FBox
Definition MathFwd.h:55
FBoxSphereBounds3d FBoxSphereBounds
Definition MathFwd.h:142
UE::Math::TVector< float > FVector3f
Definition MathFwd.h:73
#define MAX_flt
Definition NumericLimits.h:29
USkinnedMeshComponent float
Definition SkinnedMeshComponent.h:60
FORCEINLINE void VectorDeinterleave(VectorRegister4Float &RESTRICT OutEvens, VectorRegister4Float &RESTRICT OutOdds, const VectorRegister4Float &RESTRICT Lo, const VectorRegister4Float &RESTRICT Hi)
Definition UnrealMathFPU.h:1777
FORCEINLINE VectorRegister4Double VectorLoadFloat3(const double *Ptr)
Definition UnrealMathFPU.h:427
FORCEINLINE VectorRegister4Float VectorMin(const VectorRegister4Float &Vec1, const VectorRegister4Float &Vec2)
Definition UnrealMathFPU.h:1686
FORCEINLINE VectorRegister4Float VectorMax(const VectorRegister4Float &Vec1, const VectorRegister4Float &Vec2)
Definition UnrealMathFPU.h:1713
FORCEINLINE VectorRegister4Float VectorCombineLow(const VectorRegister4Float &Vec1, const VectorRegister4Float &Vec2)
Definition UnrealMathFPU.h:1757
FORCEINLINE void VectorStore(const VectorRegister4Float &Vec, float *Dst)
Definition UnrealMathFPU.h:566
FORCEINLINE VectorRegister4Float VectorCombineHigh(const VectorRegister4Float &Vec1, const VectorRegister4Float &Vec2)
Definition UnrealMathFPU.h:1740
FORCEINLINE VectorRegister4Float VectorSet_W0(const VectorRegister4Float &Vec)
Definition UnrealMathFPU.h:1391
FORCEINLINE VectorRegister4Float VectorLoad(const float *Ptr)
Definition UnrealMathFPU.h:394
FORCEINLINE void VectorStoreFloat3(const VectorRegister4Float &Vec, float *Dst)
Definition UnrealMathFPU.h:594
FORCEINLINE VectorRegister4Float MakeVectorRegisterFloat(uint32 X, uint32 Y, uint32 Z, uint32 W)
Definition UnrealMathFPU.h:175
#define UE_KINDA_SMALL_NUMBER
Definition UnrealMathUtility.h:131
uint32 Size
Definition VulkanMemory.cpp:4034
Definition Archive.h:1208
uint32 Exponent
Definition Float32.h:24
struct FFloat32::@237::@240 Components
static UE_FORCEINLINE_HINT bool IsNearlyEqual(float A, float B, float ErrorTolerance=UE_SMALL_NUMBER)
Definition UnrealMathUtility.h:388
Definition RenderTransform.h:272
FBoxSphereBounds ToBoxSphereBounds() const
Definition RenderTransform.h:306
FVector3f Min
Definition RenderTransform.h:273
FRenderBounds & operator+=(const FVector3f &Other)
Definition RenderTransform.h:318
FVector3f GetExtent() const
Definition RenderTransform.h:358
FRenderBounds(const FVector3f &InMin, const FVector3f &InMax)
Definition RenderTransform.h:283
FRenderBounds(const FBoxSphereBounds &Bounds)
Definition RenderTransform.h:295
friend FArchive & operator<<(FArchive &Ar, FRenderBounds &B)
Definition RenderTransform.h:406
float GetSurfaceArea() const
Definition RenderTransform.h:363
FRenderBounds(const FBox &Box)
Definition RenderTransform.h:289
FVector3f Max
Definition RenderTransform.h:274
float ComputeSquaredDistanceToPoint(const FVector3f &Point) const
Definition RenderTransform.h:392
FBox ToBox() const
Definition RenderTransform.h:301
FRenderBounds & operator=(const FVector3f &Other)
Definition RenderTransform.h:311
bool Equals(const FRenderBounds &Other, float Tolerance=UE_KINDA_SMALL_NUMBER) const
Definition RenderTransform.h:338
RENDERCORE_API FRenderBounds TransformBy(const FMatrix44f &M) const
Definition RenderTransform.cpp:7
const FVector3f & GetMax() const
Definition RenderTransform.h:348
FRenderBounds operator+(const FRenderBounds &Other) const
Definition RenderTransform.h:333
FRenderBounds()
Definition RenderTransform.h:277
const FVector3f & GetMin() const
Definition RenderTransform.h:343
FVector3f GetCenter() const
Definition RenderTransform.h:353
Definition BoxSphereBounds.h:25
TVector< TExtent > BoxExtent
Definition BoxSphereBounds.h:32
TVector< T > Origin
Definition BoxSphereBounds.h:29
TMatrix< T > Inverse() const
Definition Matrix.inl:384
T M[4][4]
Definition Matrix.h:49
TMatrix< T > InverseFast() const
Definition Matrix.inl:357
T X
Definition Vector2D.h:49
T Z
Definition Vector.h:68
TVector< T > GetUnsafeNormal() const
Definition Vector.h:1841
T Y
Definition Vector.h:65
static CORE_API const TVector< float > ZeroVector
Definition Vector.h:79
static TVector< float > Max(const TVector< float > &A, const TVector< float > &B)
Definition Vector.h:2506
T X
Definition Vector.h:62
UE_FORCEINLINE_HINT bool Equals(const TVector< T > &V, T Tolerance=UE_KINDA_SMALL_NUMBER) const
Definition Vector.h:1601
T Size() const
Definition Vector.h:1716
Definition UnrealMathFPU.h:42
Definition UnrealMathFPU.h:20