Ark Server API (ASA) - Wiki
Loading...
Searching...
No Matches
UnrealMathUtility.h File Reference
+ Include dependency graph for UnrealMathUtility.h:

Go to the source code of this file.

Classes

struct  TCustomLerp< T >
 
struct  FMath
 

Namespaces

namespace  UE
 
namespace  UE::LWC
 

Macros

#define ENABLE_NAN_DIAGNOSTIC   0
 
#define UE_INCLUDETOOL_IGNORE_INCONSISTENT_STATE
 
#define UE_DEPRECATE_LEGACY_MATH_CONSTANT_MACRO_NAMES   0
 
#define UE_DEFINE_LEGACY_MATH_CONSTANT_MACRO_NAMES   1
 
#define UE_PRIVATE_MATH_DEPRECATION(Before, After)
 
#define PI   UE_PRIVATE_MATH_DEPRECATION(PI , UE_PI ) UE_PI
 
#define SMALL_NUMBER   UE_PRIVATE_MATH_DEPRECATION(SMALL_NUMBER , UE_SMALL_NUMBER ) UE_SMALL_NUMBER
 
#define KINDA_SMALL_NUMBER   UE_PRIVATE_MATH_DEPRECATION(KINDA_SMALL_NUMBER , UE_KINDA_SMALL_NUMBER ) UE_KINDA_SMALL_NUMBER
 
#define BIG_NUMBER   UE_PRIVATE_MATH_DEPRECATION(BIG_NUMBER , UE_BIG_NUMBER ) UE_BIG_NUMBER
 
#define EULERS_NUMBER   UE_PRIVATE_MATH_DEPRECATION(EULERS_NUMBER , UE_EULERS_NUMBER ) UE_EULERS_NUMBER
 
#define FLOAT_NON_FRACTIONAL   UE_PRIVATE_MATH_DEPRECATION(FLOAT_NON_FRACTIONAL , UE_FLOAT_NON_FRACTIONAL ) UE_FLOAT_NON_FRACTIONAL
 
#define DOUBLE_PI   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_PI , UE_DOUBLE_PI ) UE_DOUBLE_PI
 
#define DOUBLE_SMALL_NUMBER   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_SMALL_NUMBER , UE_DOUBLE_SMALL_NUMBER ) UE_DOUBLE_SMALL_NUMBER
 
#define DOUBLE_KINDA_SMALL_NUMBER   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_KINDA_SMALL_NUMBER , UE_DOUBLE_KINDA_SMALL_NUMBER ) UE_DOUBLE_KINDA_SMALL_NUMBER
 
#define DOUBLE_BIG_NUMBER   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_BIG_NUMBER , UE_DOUBLE_BIG_NUMBER ) UE_DOUBLE_BIG_NUMBER
 
#define DOUBLE_EULERS_NUMBER   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_EULERS_NUMBER , UE_DOUBLE_EULERS_NUMBER ) UE_DOUBLE_EULERS_NUMBER
 
#define DOUBLE_UE_GOLDEN_RATIO   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_UE_GOLDEN_RATIO , UE_DOUBLE_GOLDEN_RATIO ) UE_DOUBLE_GOLDEN_RATIO
 
#define DOUBLE_NON_FRACTIONAL   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_NON_FRACTIONAL , UE_DOUBLE_NON_FRACTIONAL ) UE_DOUBLE_NON_FRACTIONAL
 
#define MAX_FLT   UE_PRIVATE_MATH_DEPRECATION(MAX_FLT , UE_MAX_FLT ) UE_MAX_FLT
 
#define INV_PI   UE_PRIVATE_MATH_DEPRECATION(INV_PI , UE_INV_PI ) UE_INV_PI
 
#define HALF_PI   UE_PRIVATE_MATH_DEPRECATION(HALF_PI , UE_HALF_PI ) UE_HALF_PI
 
#define TWO_PI   UE_PRIVATE_MATH_DEPRECATION(TWO_PI , UE_TWO_PI ) UE_TWO_PI
 
#define PI_SQUARED   UE_PRIVATE_MATH_DEPRECATION(PI_SQUARED , UE_PI_SQUARED ) UE_PI_SQUARED
 
#define DOUBLE_INV_PI   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_INV_PI , UE_DOUBLE_INV_PI ) UE_DOUBLE_INV_PI
 
#define DOUBLE_HALF_PI   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_HALF_PI , UE_DOUBLE_HALF_PI ) UE_DOUBLE_HALF_PI
 
#define DOUBLE_TWO_PI   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_TWO_PI , UE_DOUBLE_TWO_PI ) UE_DOUBLE_TWO_PI
 
#define DOUBLE_PI_SQUARED   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_PI_SQUARED , UE_DOUBLE_PI_SQUARED ) UE_DOUBLE_PI_SQUARED
 
#define DOUBLE_UE_SQRT_2   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_UE_SQRT_2 , UE_DOUBLE_SQRT_2 ) UE_DOUBLE_SQRT_2
 
#define DOUBLE_UE_SQRT_3   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_UE_SQRT_3 , UE_DOUBLE_SQRT_3 ) UE_DOUBLE_SQRT_3
 
#define DOUBLE_UE_INV_SQRT_2   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_UE_INV_SQRT_2 , UE_DOUBLE_INV_SQRT_2 ) UE_DOUBLE_INV_SQRT_2
 
#define DOUBLE_UE_INV_SQRT_3   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_UE_INV_SQRT_3 , UE_DOUBLE_INV_SQRT_3 ) UE_DOUBLE_INV_SQRT_3
 
#define DOUBLE_UE_HALF_SQRT_2   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_UE_HALF_SQRT_2 , UE_DOUBLE_HALF_SQRT_2 ) UE_DOUBLE_HALF_SQRT_2
 
#define DOUBLE_UE_HALF_SQRT_3   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_UE_HALF_SQRT_3 , UE_DOUBLE_HALF_SQRT_3 ) UE_DOUBLE_HALF_SQRT_3
 
#define DELTA   UE_PRIVATE_MATH_DEPRECATION(DELTA , UE_DELTA ) UE_DELTA
 
#define DOUBLE_DELTA   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_DELTA , UE_DOUBLE_DELTA ) UE_DOUBLE_DELTA
 
#define FLOAT_NORMAL_THRESH   UE_PRIVATE_MATH_DEPRECATION(FLOAT_NORMAL_THRESH , UE_FLOAT_NORMAL_THRESH ) UE_FLOAT_NORMAL_THRESH
 
#define DOUBLE_NORMAL_THRESH   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_NORMAL_THRESH , UE_DOUBLE_NORMAL_THRESH ) UE_DOUBLE_NORMAL_THRESH
 
#define THRESH_POINT_ON_PLANE   UE_PRIVATE_MATH_DEPRECATION(THRESH_POINT_ON_PLANE , UE_THRESH_POINT_ON_PLANE ) UE_THRESH_POINT_ON_PLANE
 
#define THRESH_POINT_ON_SIDE   UE_PRIVATE_MATH_DEPRECATION(THRESH_POINT_ON_SIDE , UE_THRESH_POINT_ON_SIDE ) UE_THRESH_POINT_ON_SIDE
 
#define THRESH_POINTS_ARE_SAME   UE_PRIVATE_MATH_DEPRECATION(THRESH_POINTS_ARE_SAME , UE_THRESH_POINTS_ARE_SAME ) UE_THRESH_POINTS_ARE_SAME
 
#define THRESH_POINTS_ARE_NEAR   UE_PRIVATE_MATH_DEPRECATION(THRESH_POINTS_ARE_NEAR , UE_THRESH_POINTS_ARE_NEAR ) UE_THRESH_POINTS_ARE_NEAR
 
#define THRESH_NORMALS_ARE_SAME   UE_PRIVATE_MATH_DEPRECATION(THRESH_NORMALS_ARE_SAME , UE_THRESH_NORMALS_ARE_SAME ) UE_THRESH_NORMALS_ARE_SAME
 
#define THRESH_UVS_ARE_SAME   UE_PRIVATE_MATH_DEPRECATION(THRESH_UVS_ARE_SAME , UE_THRESH_UVS_ARE_SAME ) UE_THRESH_UVS_ARE_SAME
 
#define THRESH_VECTORS_ARE_NEAR   UE_PRIVATE_MATH_DEPRECATION(THRESH_VECTORS_ARE_NEAR , UE_THRESH_VECTORS_ARE_NEAR ) UE_THRESH_VECTORS_ARE_NEAR
 
#define THRESH_SPLIT_POLY_WITH_PLANE   UE_PRIVATE_MATH_DEPRECATION(THRESH_SPLIT_POLY_WITH_PLANE , UE_THRESH_SPLIT_POLY_WITH_PLANE ) UE_THRESH_SPLIT_POLY_WITH_PLANE
 
#define THRESH_SPLIT_POLY_PRECISELY   UE_PRIVATE_MATH_DEPRECATION(THRESH_SPLIT_POLY_PRECISELY , UE_THRESH_SPLIT_POLY_PRECISELY ) UE_THRESH_SPLIT_POLY_PRECISELY
 
#define THRESH_ZERO_NORM_SQUARED   UE_PRIVATE_MATH_DEPRECATION(THRESH_ZERO_NORM_SQUARED , UE_THRESH_ZERO_NORM_SQUARED ) UE_THRESH_ZERO_NORM_SQUARED
 
#define THRESH_NORMALS_ARE_PARALLEL   UE_PRIVATE_MATH_DEPRECATION(THRESH_NORMALS_ARE_PARALLEL , UE_THRESH_NORMALS_ARE_PARALLEL ) UE_THRESH_NORMALS_ARE_PARALLEL
 
#define THRESH_NORMALS_ARE_ORTHOGONAL   UE_PRIVATE_MATH_DEPRECATION(THRESH_NORMALS_ARE_ORTHOGONAL , UE_THRESH_NORMALS_ARE_ORTHOGONAL ) UE_THRESH_NORMALS_ARE_ORTHOGONAL
 
#define THRESH_VECTOR_NORMALIZED   UE_PRIVATE_MATH_DEPRECATION(THRESH_VECTOR_NORMALIZED , UE_THRESH_VECTOR_NORMALIZED ) UE_THRESH_VECTOR_NORMALIZED
 
#define THRESH_QUAT_NORMALIZED   UE_PRIVATE_MATH_DEPRECATION(THRESH_QUAT_NORMALIZED , UE_THRESH_QUAT_NORMALIZED ) UE_THRESH_QUAT_NORMALIZED
 
#define DOUBLE_THRESH_POINT_ON_PLANE   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_POINT_ON_PLANE , UE_DOUBLE_THRESH_POINT_ON_PLANE ) UE_DOUBLE_THRESH_POINT_ON_PLANE
 
#define DOUBLE_THRESH_POINT_ON_SIDE   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_POINT_ON_SIDE , UE_DOUBLE_THRESH_POINT_ON_SIDE ) UE_DOUBLE_THRESH_POINT_ON_SIDE
 
#define DOUBLE_THRESH_POINTS_ARE_SAME   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_POINTS_ARE_SAME , UE_DOUBLE_THRESH_POINTS_ARE_SAME ) UE_DOUBLE_THRESH_POINTS_ARE_SAME
 
#define DOUBLE_THRESH_POINTS_ARE_NEAR   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_POINTS_ARE_NEAR , UE_DOUBLE_THRESH_POINTS_ARE_NEAR ) UE_DOUBLE_THRESH_POINTS_ARE_NEAR
 
#define DOUBLE_THRESH_NORMALS_ARE_SAME   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_NORMALS_ARE_SAME , UE_DOUBLE_THRESH_NORMALS_ARE_SAME ) UE_DOUBLE_THRESH_NORMALS_ARE_SAME
 
#define DOUBLE_THRESH_UVS_ARE_SAME   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_UVS_ARE_SAME , UE_DOUBLE_THRESH_UVS_ARE_SAME ) UE_DOUBLE_THRESH_UVS_ARE_SAME
 
#define DOUBLE_THRESH_VECTORS_ARE_NEAR   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_VECTORS_ARE_NEAR , UE_DOUBLE_THRESH_VECTORS_ARE_NEAR ) UE_DOUBLE_THRESH_VECTORS_ARE_NEAR
 
#define DOUBLE_THRESH_SPLIT_POLY_WITH_PLANE   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_SPLIT_POLY_WITH_PLANE , UE_DOUBLE_THRESH_SPLIT_POLY_WITH_PLANE ) UE_DOUBLE_THRESH_SPLIT_POLY_WITH_PLANE
 
#define DOUBLE_THRESH_SPLIT_POLY_PRECISELY   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_SPLIT_POLY_PRECISELY , UE_DOUBLE_THRESH_SPLIT_POLY_PRECISELY ) UE_DOUBLE_THRESH_SPLIT_POLY_PRECISELY
 
#define DOUBLE_THRESH_ZERO_NORM_SQUARED   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_ZERO_NORM_SQUARED , UE_DOUBLE_THRESH_ZERO_NORM_SQUARED ) UE_DOUBLE_THRESH_ZERO_NORM_SQUARED
 
#define DOUBLE_THRESH_NORMALS_ARE_PARALLEL   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_NORMALS_ARE_PARALLEL , UE_DOUBLE_THRESH_NORMALS_ARE_PARALLEL ) UE_DOUBLE_THRESH_NORMALS_ARE_PARALLEL
 
#define DOUBLE_THRESH_NORMALS_ARE_ORTHOGONAL   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_NORMALS_ARE_ORTHOGONAL , UE_DOUBLE_THRESH_NORMALS_ARE_ORTHOGONAL ) UE_DOUBLE_THRESH_NORMALS_ARE_ORTHOGONAL
 
#define DOUBLE_THRESH_VECTOR_NORMALIZED   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_VECTOR_NORMALIZED , UE_DOUBLE_THRESH_VECTOR_NORMALIZED ) UE_DOUBLE_THRESH_VECTOR_NORMALIZED
 
#define DOUBLE_THRESH_QUAT_NORMALIZED   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_QUAT_NORMALIZED , UE_DOUBLE_THRESH_QUAT_NORMALIZED ) UE_DOUBLE_THRESH_QUAT_NORMALIZED
 
#define UE_PI   (3.1415926535897932f) /* Extra digits if needed: 3.1415926535897932384626433832795f */
 
#define UE_SMALL_NUMBER   (1.e-8f)
 
#define UE_KINDA_SMALL_NUMBER   (1.e-4f)
 
#define UE_BIG_NUMBER   (3.4e+38f)
 
#define UE_EULERS_NUMBER   (2.71828182845904523536f)
 
#define UE_GOLDEN_RATIO   (1.6180339887498948482045868343656381f) /* Also known as divine proportion, golden mean, or golden section - related to the Fibonacci Sequence = (1 + sqrt(5)) / 2 */
 
#define UE_FLOAT_NON_FRACTIONAL   (8388608.f) /* All single-precision floating point numbers greater than or equal to this have no fractional value. */
 
#define UE_DOUBLE_PI   (3.141592653589793238462643383279502884197169399)
 
#define UE_DOUBLE_SMALL_NUMBER   (1.e-8)
 
#define UE_DOUBLE_KINDA_SMALL_NUMBER   (1.e-4)
 
#define UE_DOUBLE_BIG_NUMBER   (3.4e+38)
 
#define UE_DOUBLE_EULERS_NUMBER   (2.7182818284590452353602874713526624977572)
 
#define UE_DOUBLE_GOLDEN_RATIO   (1.6180339887498948482045868343656381) /* Also known as divine proportion, golden mean, or golden section - related to the Fibonacci Sequence = (1 + sqrt(5)) / 2 */
 
#define UE_DOUBLE_NON_FRACTIONAL   (4503599627370496.0) /* All double-precision floating point numbers greater than or equal to this have no fractional value. 2^52 */
 
#define UE_MAX_FLT   3.402823466e+38F
 
#define UE_INV_PI   (0.31830988618f)
 
#define UE_HALF_PI   (1.57079632679f)
 
#define UE_TWO_PI   (6.28318530717f)
 
#define UE_PI_SQUARED   (9.86960440108f)
 
#define UE_DOUBLE_INV_PI   (0.31830988618379067154)
 
#define UE_DOUBLE_HALF_PI   (1.57079632679489661923)
 
#define UE_DOUBLE_TWO_PI   (6.28318530717958647692)
 
#define UE_DOUBLE_PI_SQUARED   (9.86960440108935861883)
 
#define UE_SQRT_2   (1.4142135623730950488016887242097f)
 
#define UE_SQRT_3   (1.7320508075688772935274463415059f)
 
#define UE_INV_SQRT_2   (0.70710678118654752440084436210485f)
 
#define UE_INV_SQRT_3   (0.57735026918962576450914878050196f)
 
#define UE_HALF_SQRT_2   (0.70710678118654752440084436210485f)
 
#define UE_HALF_SQRT_3   (0.86602540378443864676372317075294f)
 
#define UE_DOUBLE_SQRT_2   (1.4142135623730950488016887242097)
 
#define UE_DOUBLE_SQRT_3   (1.7320508075688772935274463415059)
 
#define UE_DOUBLE_INV_SQRT_2   (0.70710678118654752440084436210485)
 
#define UE_DOUBLE_INV_SQRT_3   (0.57735026918962576450914878050196)
 
#define UE_DOUBLE_HALF_SQRT_2   (0.70710678118654752440084436210485)
 
#define UE_DOUBLE_HALF_SQRT_3   (0.86602540378443864676372317075294)
 
#define UE_DELTA   (0.00001f)
 
#define UE_DOUBLE_DELTA   (0.00001 )
 
#define UE_FLOAT_NORMAL_THRESH   (0.0001f)
 
#define UE_DOUBLE_NORMAL_THRESH   (0.0001)
 
#define UE_THRESH_POINT_ON_PLANE   (0.10f) /* Thickness of plane for front/back/inside test */
 
#define UE_THRESH_POINT_ON_SIDE   (0.20f) /* Thickness of polygon side's side-plane for point-inside/outside/on side test */
 
#define UE_THRESH_POINTS_ARE_SAME   (0.00002f) /* Two points are same if within this distance */
 
#define UE_THRESH_POINTS_ARE_NEAR   (0.015f) /* Two points are near if within this distance and can be combined if imprecise math is ok */
 
#define UE_THRESH_NORMALS_ARE_SAME   (0.00002f) /* Two normal points are same if within this distance */
 
#define UE_THRESH_UVS_ARE_SAME   (0.0009765625f)/* Two UV are same if within this threshold (1.0f/1024f) */
 
#define UE_THRESH_VECTORS_ARE_NEAR   (0.0004f) /* Two vectors are near if within this distance and can be combined if imprecise math is ok */
 
#define UE_THRESH_SPLIT_POLY_WITH_PLANE   (0.25f) /* A plane splits a polygon in half */
 
#define UE_THRESH_SPLIT_POLY_PRECISELY   (0.01f) /* A plane exactly splits a polygon */
 
#define UE_THRESH_ZERO_NORM_SQUARED   (0.0001f) /* Size of a unit normal that is considered "zero", squared */
 
#define UE_THRESH_NORMALS_ARE_PARALLEL   (0.999845f) /* Two unit vectors are parallel if abs(A dot B) is greater than or equal to this. This is roughly cosine(1.0 degrees). */
 
#define UE_THRESH_NORMALS_ARE_ORTHOGONAL   (0.017455f) /* Two unit vectors are orthogonal (perpendicular) if abs(A dot B) is less than or equal this. This is roughly cosine(89.0 degrees). */
 
#define UE_THRESH_VECTOR_NORMALIZED   (0.01f) /** Allowed error for a normalized vector (against squared magnitude) */
 
#define UE_THRESH_QUAT_NORMALIZED   (0.01f) /** Allowed error for a normalized quaternion (against squared magnitude) */
 
#define UE_DOUBLE_THRESH_POINT_ON_PLANE   (0.10) /* Thickness of plane for front/back/inside test */
 
#define UE_DOUBLE_THRESH_POINT_ON_SIDE   (0.20) /* Thickness of polygon side's side-plane for point-inside/outside/on side test */
 
#define UE_DOUBLE_THRESH_POINTS_ARE_SAME   (0.00002) /* Two points are same if within this distance */
 
#define UE_DOUBLE_THRESH_POINTS_ARE_NEAR   (0.015) /* Two points are near if within this distance and can be combined if imprecise math is ok */
 
#define UE_DOUBLE_THRESH_NORMALS_ARE_SAME   (0.00002) /* Two normal points are same if within this distance */
 
#define UE_DOUBLE_THRESH_UVS_ARE_SAME   (0.0009765625)/* Two UV are same if within this threshold (1.0/1024.0) */
 
#define UE_DOUBLE_THRESH_VECTORS_ARE_NEAR   (0.0004) /* Two vectors are near if within this distance and can be combined if imprecise math is ok */
 
#define UE_DOUBLE_THRESH_SPLIT_POLY_WITH_PLANE   (0.25) /* A plane splits a polygon in half */
 
#define UE_DOUBLE_THRESH_SPLIT_POLY_PRECISELY   (0.01) /* A plane exactly splits a polygon */
 
#define UE_DOUBLE_THRESH_ZERO_NORM_SQUARED   (0.0001) /* Size of a unit normal that is considered "zero", squared */
 
#define UE_DOUBLE_THRESH_NORMALS_ARE_PARALLEL   (0.999845) /* Two unit vectors are parallel if abs(A dot B) is greater than or equal to this. This is roughly cosine(1.0 degrees). */
 
#define UE_DOUBLE_THRESH_NORMALS_ARE_ORTHOGONAL   (0.017455) /* Two unit vectors are orthogonal (perpendicular) if abs(A dot B) is less than or equal this. This is roughly cosine(89.0 degrees). */
 
#define UE_DOUBLE_THRESH_VECTOR_NORMALIZED   (0.01) /** Allowed error for a normalized vector (against squared magnitude) */
 
#define UE_DOUBLE_THRESH_QUAT_NORMALIZED   (0.01) /** Allowed error for a normalized quaternion (against squared magnitude) */
 
#define FASTASIN_HALF_PI   (1.5707963050f)
 

Functions

template<typename TDest , typename TSrc , typename InAllocatorType >
TArray< TDest, InAllocatorTypeUE::LWC::ConvertArrayType (const TArray< TSrc, InAllocatorType > &From)
 
template<typename TDest , typename TSrc , typename InAllocatorType >
TArray< TDest, InAllocatorTypeUE::LWC::ConvertArrayTypeClampMax (const TArray< TSrc, InAllocatorType > &From)
 
template<typename OutIntType , typename InFloatType >
FORCEINLINE OutIntType UE::LWC::FloatToIntCastChecked (InFloatType FloatValue)
 
template<>
FORCEINLINE int32 UE::LWC::FloatToIntCastChecked (float FloatValue)
 
template<>
FORCEINLINE int64 UE::LWC::FloatToIntCastChecked (float FloatValue)
 
template<>
FORCEINLINE int32 UE::LWC::FloatToIntCastChecked (double FloatValue)
 
template<>
FORCEINLINE int64 UE::LWC::FloatToIntCastChecked (double FloatValue)
 

Macro Definition Documentation

◆ BIG_NUMBER

Definition at line 68 of file UnrealMathUtility.h.

◆ DELTA

Definition at line 93 of file UnrealMathUtility.h.

◆ DOUBLE_BIG_NUMBER

#define DOUBLE_BIG_NUMBER   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_BIG_NUMBER , UE_DOUBLE_BIG_NUMBER ) UE_DOUBLE_BIG_NUMBER

Definition at line 74 of file UnrealMathUtility.h.

◆ DOUBLE_DELTA

Definition at line 94 of file UnrealMathUtility.h.

◆ DOUBLE_EULERS_NUMBER

#define DOUBLE_EULERS_NUMBER   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_EULERS_NUMBER , UE_DOUBLE_EULERS_NUMBER ) UE_DOUBLE_EULERS_NUMBER

Definition at line 75 of file UnrealMathUtility.h.

◆ DOUBLE_HALF_PI

#define DOUBLE_HALF_PI   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_HALF_PI , UE_DOUBLE_HALF_PI ) UE_DOUBLE_HALF_PI

Definition at line 84 of file UnrealMathUtility.h.

◆ DOUBLE_INV_PI

Definition at line 83 of file UnrealMathUtility.h.

◆ DOUBLE_KINDA_SMALL_NUMBER

#define DOUBLE_KINDA_SMALL_NUMBER   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_KINDA_SMALL_NUMBER , UE_DOUBLE_KINDA_SMALL_NUMBER ) UE_DOUBLE_KINDA_SMALL_NUMBER

Definition at line 73 of file UnrealMathUtility.h.

◆ DOUBLE_NON_FRACTIONAL

#define DOUBLE_NON_FRACTIONAL   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_NON_FRACTIONAL , UE_DOUBLE_NON_FRACTIONAL ) UE_DOUBLE_NON_FRACTIONAL

Definition at line 77 of file UnrealMathUtility.h.

◆ DOUBLE_NORMAL_THRESH

#define DOUBLE_NORMAL_THRESH   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_NORMAL_THRESH , UE_DOUBLE_NORMAL_THRESH ) UE_DOUBLE_NORMAL_THRESH

Definition at line 96 of file UnrealMathUtility.h.

◆ DOUBLE_PI

Definition at line 71 of file UnrealMathUtility.h.

◆ DOUBLE_PI_SQUARED

#define DOUBLE_PI_SQUARED   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_PI_SQUARED , UE_DOUBLE_PI_SQUARED ) UE_DOUBLE_PI_SQUARED

Definition at line 86 of file UnrealMathUtility.h.

◆ DOUBLE_SMALL_NUMBER

#define DOUBLE_SMALL_NUMBER   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_SMALL_NUMBER , UE_DOUBLE_SMALL_NUMBER ) UE_DOUBLE_SMALL_NUMBER

Definition at line 72 of file UnrealMathUtility.h.

◆ DOUBLE_THRESH_NORMALS_ARE_ORTHOGONAL

#define DOUBLE_THRESH_NORMALS_ARE_ORTHOGONAL   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_NORMALS_ARE_ORTHOGONAL , UE_DOUBLE_THRESH_NORMALS_ARE_ORTHOGONAL ) UE_DOUBLE_THRESH_NORMALS_ARE_ORTHOGONAL

Definition at line 122 of file UnrealMathUtility.h.

◆ DOUBLE_THRESH_NORMALS_ARE_PARALLEL

#define DOUBLE_THRESH_NORMALS_ARE_PARALLEL   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_NORMALS_ARE_PARALLEL , UE_DOUBLE_THRESH_NORMALS_ARE_PARALLEL ) UE_DOUBLE_THRESH_NORMALS_ARE_PARALLEL

Definition at line 121 of file UnrealMathUtility.h.

◆ DOUBLE_THRESH_NORMALS_ARE_SAME

#define DOUBLE_THRESH_NORMALS_ARE_SAME   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_NORMALS_ARE_SAME , UE_DOUBLE_THRESH_NORMALS_ARE_SAME ) UE_DOUBLE_THRESH_NORMALS_ARE_SAME

Definition at line 115 of file UnrealMathUtility.h.

◆ DOUBLE_THRESH_POINT_ON_PLANE

#define DOUBLE_THRESH_POINT_ON_PLANE   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_POINT_ON_PLANE , UE_DOUBLE_THRESH_POINT_ON_PLANE ) UE_DOUBLE_THRESH_POINT_ON_PLANE

Definition at line 111 of file UnrealMathUtility.h.

◆ DOUBLE_THRESH_POINT_ON_SIDE

#define DOUBLE_THRESH_POINT_ON_SIDE   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_POINT_ON_SIDE , UE_DOUBLE_THRESH_POINT_ON_SIDE ) UE_DOUBLE_THRESH_POINT_ON_SIDE

Definition at line 112 of file UnrealMathUtility.h.

◆ DOUBLE_THRESH_POINTS_ARE_NEAR

#define DOUBLE_THRESH_POINTS_ARE_NEAR   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_POINTS_ARE_NEAR , UE_DOUBLE_THRESH_POINTS_ARE_NEAR ) UE_DOUBLE_THRESH_POINTS_ARE_NEAR

Definition at line 114 of file UnrealMathUtility.h.

◆ DOUBLE_THRESH_POINTS_ARE_SAME

#define DOUBLE_THRESH_POINTS_ARE_SAME   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_POINTS_ARE_SAME , UE_DOUBLE_THRESH_POINTS_ARE_SAME ) UE_DOUBLE_THRESH_POINTS_ARE_SAME

Definition at line 113 of file UnrealMathUtility.h.

◆ DOUBLE_THRESH_QUAT_NORMALIZED

#define DOUBLE_THRESH_QUAT_NORMALIZED   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_QUAT_NORMALIZED , UE_DOUBLE_THRESH_QUAT_NORMALIZED ) UE_DOUBLE_THRESH_QUAT_NORMALIZED

Definition at line 124 of file UnrealMathUtility.h.

◆ DOUBLE_THRESH_SPLIT_POLY_PRECISELY

#define DOUBLE_THRESH_SPLIT_POLY_PRECISELY   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_SPLIT_POLY_PRECISELY , UE_DOUBLE_THRESH_SPLIT_POLY_PRECISELY ) UE_DOUBLE_THRESH_SPLIT_POLY_PRECISELY

Definition at line 119 of file UnrealMathUtility.h.

◆ DOUBLE_THRESH_SPLIT_POLY_WITH_PLANE

#define DOUBLE_THRESH_SPLIT_POLY_WITH_PLANE   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_SPLIT_POLY_WITH_PLANE , UE_DOUBLE_THRESH_SPLIT_POLY_WITH_PLANE ) UE_DOUBLE_THRESH_SPLIT_POLY_WITH_PLANE

Definition at line 118 of file UnrealMathUtility.h.

◆ DOUBLE_THRESH_UVS_ARE_SAME

#define DOUBLE_THRESH_UVS_ARE_SAME   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_UVS_ARE_SAME , UE_DOUBLE_THRESH_UVS_ARE_SAME ) UE_DOUBLE_THRESH_UVS_ARE_SAME

Definition at line 116 of file UnrealMathUtility.h.

◆ DOUBLE_THRESH_VECTOR_NORMALIZED

#define DOUBLE_THRESH_VECTOR_NORMALIZED   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_VECTOR_NORMALIZED , UE_DOUBLE_THRESH_VECTOR_NORMALIZED ) UE_DOUBLE_THRESH_VECTOR_NORMALIZED

Definition at line 123 of file UnrealMathUtility.h.

◆ DOUBLE_THRESH_VECTORS_ARE_NEAR

#define DOUBLE_THRESH_VECTORS_ARE_NEAR   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_VECTORS_ARE_NEAR , UE_DOUBLE_THRESH_VECTORS_ARE_NEAR ) UE_DOUBLE_THRESH_VECTORS_ARE_NEAR

Definition at line 117 of file UnrealMathUtility.h.

◆ DOUBLE_THRESH_ZERO_NORM_SQUARED

#define DOUBLE_THRESH_ZERO_NORM_SQUARED   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_THRESH_ZERO_NORM_SQUARED , UE_DOUBLE_THRESH_ZERO_NORM_SQUARED ) UE_DOUBLE_THRESH_ZERO_NORM_SQUARED

Definition at line 120 of file UnrealMathUtility.h.

◆ DOUBLE_TWO_PI

Definition at line 85 of file UnrealMathUtility.h.

◆ DOUBLE_UE_GOLDEN_RATIO

#define DOUBLE_UE_GOLDEN_RATIO   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_UE_GOLDEN_RATIO , UE_DOUBLE_GOLDEN_RATIO ) UE_DOUBLE_GOLDEN_RATIO

Definition at line 76 of file UnrealMathUtility.h.

◆ DOUBLE_UE_HALF_SQRT_2

#define DOUBLE_UE_HALF_SQRT_2   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_UE_HALF_SQRT_2 , UE_DOUBLE_HALF_SQRT_2 ) UE_DOUBLE_HALF_SQRT_2

Definition at line 91 of file UnrealMathUtility.h.

◆ DOUBLE_UE_HALF_SQRT_3

#define DOUBLE_UE_HALF_SQRT_3   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_UE_HALF_SQRT_3 , UE_DOUBLE_HALF_SQRT_3 ) UE_DOUBLE_HALF_SQRT_3

Definition at line 92 of file UnrealMathUtility.h.

◆ DOUBLE_UE_INV_SQRT_2

#define DOUBLE_UE_INV_SQRT_2   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_UE_INV_SQRT_2 , UE_DOUBLE_INV_SQRT_2 ) UE_DOUBLE_INV_SQRT_2

Definition at line 89 of file UnrealMathUtility.h.

◆ DOUBLE_UE_INV_SQRT_3

#define DOUBLE_UE_INV_SQRT_3   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_UE_INV_SQRT_3 , UE_DOUBLE_INV_SQRT_3 ) UE_DOUBLE_INV_SQRT_3

Definition at line 90 of file UnrealMathUtility.h.

◆ DOUBLE_UE_SQRT_2

#define DOUBLE_UE_SQRT_2   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_UE_SQRT_2 , UE_DOUBLE_SQRT_2 ) UE_DOUBLE_SQRT_2

Definition at line 87 of file UnrealMathUtility.h.

◆ DOUBLE_UE_SQRT_3

#define DOUBLE_UE_SQRT_3   UE_PRIVATE_MATH_DEPRECATION(DOUBLE_UE_SQRT_3 , UE_DOUBLE_SQRT_3 ) UE_DOUBLE_SQRT_3

Definition at line 88 of file UnrealMathUtility.h.

◆ ENABLE_NAN_DIAGNOSTIC

#define ENABLE_NAN_DIAGNOSTIC   0

Definition at line 18 of file UnrealMathUtility.h.

◆ EULERS_NUMBER

Definition at line 69 of file UnrealMathUtility.h.

◆ FASTASIN_HALF_PI

#define FASTASIN_HALF_PI   (1.5707963050f)

Definition at line 768 of file UnrealMathUtility.h.

◆ FLOAT_NON_FRACTIONAL

#define FLOAT_NON_FRACTIONAL   UE_PRIVATE_MATH_DEPRECATION(FLOAT_NON_FRACTIONAL , UE_FLOAT_NON_FRACTIONAL ) UE_FLOAT_NON_FRACTIONAL

Definition at line 70 of file UnrealMathUtility.h.

◆ FLOAT_NORMAL_THRESH

#define FLOAT_NORMAL_THRESH   UE_PRIVATE_MATH_DEPRECATION(FLOAT_NORMAL_THRESH , UE_FLOAT_NORMAL_THRESH ) UE_FLOAT_NORMAL_THRESH

Definition at line 95 of file UnrealMathUtility.h.

◆ HALF_PI

Definition at line 80 of file UnrealMathUtility.h.

◆ INV_PI

Definition at line 79 of file UnrealMathUtility.h.

◆ KINDA_SMALL_NUMBER

#define KINDA_SMALL_NUMBER   UE_PRIVATE_MATH_DEPRECATION(KINDA_SMALL_NUMBER , UE_KINDA_SMALL_NUMBER ) UE_KINDA_SMALL_NUMBER

Definition at line 67 of file UnrealMathUtility.h.

◆ MAX_FLT

Definition at line 78 of file UnrealMathUtility.h.

◆ PI

Definition at line 65 of file UnrealMathUtility.h.

◆ PI_SQUARED

Definition at line 82 of file UnrealMathUtility.h.

◆ SMALL_NUMBER

Definition at line 66 of file UnrealMathUtility.h.

◆ THRESH_NORMALS_ARE_ORTHOGONAL

#define THRESH_NORMALS_ARE_ORTHOGONAL   UE_PRIVATE_MATH_DEPRECATION(THRESH_NORMALS_ARE_ORTHOGONAL , UE_THRESH_NORMALS_ARE_ORTHOGONAL ) UE_THRESH_NORMALS_ARE_ORTHOGONAL

Definition at line 108 of file UnrealMathUtility.h.

◆ THRESH_NORMALS_ARE_PARALLEL

#define THRESH_NORMALS_ARE_PARALLEL   UE_PRIVATE_MATH_DEPRECATION(THRESH_NORMALS_ARE_PARALLEL , UE_THRESH_NORMALS_ARE_PARALLEL ) UE_THRESH_NORMALS_ARE_PARALLEL

Definition at line 107 of file UnrealMathUtility.h.

◆ THRESH_NORMALS_ARE_SAME

#define THRESH_NORMALS_ARE_SAME   UE_PRIVATE_MATH_DEPRECATION(THRESH_NORMALS_ARE_SAME , UE_THRESH_NORMALS_ARE_SAME ) UE_THRESH_NORMALS_ARE_SAME

Definition at line 101 of file UnrealMathUtility.h.

◆ THRESH_POINT_ON_PLANE

#define THRESH_POINT_ON_PLANE   UE_PRIVATE_MATH_DEPRECATION(THRESH_POINT_ON_PLANE , UE_THRESH_POINT_ON_PLANE ) UE_THRESH_POINT_ON_PLANE

Definition at line 97 of file UnrealMathUtility.h.

◆ THRESH_POINT_ON_SIDE

#define THRESH_POINT_ON_SIDE   UE_PRIVATE_MATH_DEPRECATION(THRESH_POINT_ON_SIDE , UE_THRESH_POINT_ON_SIDE ) UE_THRESH_POINT_ON_SIDE

Definition at line 98 of file UnrealMathUtility.h.

◆ THRESH_POINTS_ARE_NEAR

#define THRESH_POINTS_ARE_NEAR   UE_PRIVATE_MATH_DEPRECATION(THRESH_POINTS_ARE_NEAR , UE_THRESH_POINTS_ARE_NEAR ) UE_THRESH_POINTS_ARE_NEAR

Definition at line 100 of file UnrealMathUtility.h.

◆ THRESH_POINTS_ARE_SAME

#define THRESH_POINTS_ARE_SAME   UE_PRIVATE_MATH_DEPRECATION(THRESH_POINTS_ARE_SAME , UE_THRESH_POINTS_ARE_SAME ) UE_THRESH_POINTS_ARE_SAME

Definition at line 99 of file UnrealMathUtility.h.

◆ THRESH_QUAT_NORMALIZED

#define THRESH_QUAT_NORMALIZED   UE_PRIVATE_MATH_DEPRECATION(THRESH_QUAT_NORMALIZED , UE_THRESH_QUAT_NORMALIZED ) UE_THRESH_QUAT_NORMALIZED

Definition at line 110 of file UnrealMathUtility.h.

◆ THRESH_SPLIT_POLY_PRECISELY

#define THRESH_SPLIT_POLY_PRECISELY   UE_PRIVATE_MATH_DEPRECATION(THRESH_SPLIT_POLY_PRECISELY , UE_THRESH_SPLIT_POLY_PRECISELY ) UE_THRESH_SPLIT_POLY_PRECISELY

Definition at line 105 of file UnrealMathUtility.h.

◆ THRESH_SPLIT_POLY_WITH_PLANE

#define THRESH_SPLIT_POLY_WITH_PLANE   UE_PRIVATE_MATH_DEPRECATION(THRESH_SPLIT_POLY_WITH_PLANE , UE_THRESH_SPLIT_POLY_WITH_PLANE ) UE_THRESH_SPLIT_POLY_WITH_PLANE

Definition at line 104 of file UnrealMathUtility.h.

◆ THRESH_UVS_ARE_SAME

#define THRESH_UVS_ARE_SAME   UE_PRIVATE_MATH_DEPRECATION(THRESH_UVS_ARE_SAME , UE_THRESH_UVS_ARE_SAME ) UE_THRESH_UVS_ARE_SAME

Definition at line 102 of file UnrealMathUtility.h.

◆ THRESH_VECTOR_NORMALIZED

#define THRESH_VECTOR_NORMALIZED   UE_PRIVATE_MATH_DEPRECATION(THRESH_VECTOR_NORMALIZED , UE_THRESH_VECTOR_NORMALIZED ) UE_THRESH_VECTOR_NORMALIZED

Definition at line 109 of file UnrealMathUtility.h.

◆ THRESH_VECTORS_ARE_NEAR

#define THRESH_VECTORS_ARE_NEAR   UE_PRIVATE_MATH_DEPRECATION(THRESH_VECTORS_ARE_NEAR , UE_THRESH_VECTORS_ARE_NEAR ) UE_THRESH_VECTORS_ARE_NEAR

Definition at line 103 of file UnrealMathUtility.h.

◆ THRESH_ZERO_NORM_SQUARED

#define THRESH_ZERO_NORM_SQUARED   UE_PRIVATE_MATH_DEPRECATION(THRESH_ZERO_NORM_SQUARED , UE_THRESH_ZERO_NORM_SQUARED ) UE_THRESH_ZERO_NORM_SQUARED

Definition at line 106 of file UnrealMathUtility.h.

◆ TWO_PI

Definition at line 81 of file UnrealMathUtility.h.

◆ UE_BIG_NUMBER

#define UE_BIG_NUMBER   (3.4e+38f)

Definition at line 132 of file UnrealMathUtility.h.

◆ UE_DEFINE_LEGACY_MATH_CONSTANT_MACRO_NAMES

#define UE_DEFINE_LEGACY_MATH_CONSTANT_MACRO_NAMES   1

Definition at line 47 of file UnrealMathUtility.h.

◆ UE_DELTA

#define UE_DELTA   (0.00001f)

Definition at line 177 of file UnrealMathUtility.h.

◆ UE_DEPRECATE_LEGACY_MATH_CONSTANT_MACRO_NAMES

#define UE_DEPRECATE_LEGACY_MATH_CONSTANT_MACRO_NAMES   0

Definition at line 42 of file UnrealMathUtility.h.

◆ UE_DOUBLE_BIG_NUMBER

#define UE_DOUBLE_BIG_NUMBER   (3.4e+38)

Definition at line 141 of file UnrealMathUtility.h.

◆ UE_DOUBLE_DELTA

#define UE_DOUBLE_DELTA   (0.00001 )

Definition at line 178 of file UnrealMathUtility.h.

◆ UE_DOUBLE_EULERS_NUMBER

#define UE_DOUBLE_EULERS_NUMBER   (2.7182818284590452353602874713526624977572)

Definition at line 142 of file UnrealMathUtility.h.

◆ UE_DOUBLE_GOLDEN_RATIO

#define UE_DOUBLE_GOLDEN_RATIO   (1.6180339887498948482045868343656381) /* Also known as divine proportion, golden mean, or golden section - related to the Fibonacci Sequence = (1 + sqrt(5)) / 2 */

Definition at line 143 of file UnrealMathUtility.h.

◆ UE_DOUBLE_HALF_PI

#define UE_DOUBLE_HALF_PI   (1.57079632679489661923)

Definition at line 156 of file UnrealMathUtility.h.

◆ UE_DOUBLE_HALF_SQRT_2

#define UE_DOUBLE_HALF_SQRT_2   (0.70710678118654752440084436210485)

Definition at line 172 of file UnrealMathUtility.h.

◆ UE_DOUBLE_HALF_SQRT_3

#define UE_DOUBLE_HALF_SQRT_3   (0.86602540378443864676372317075294)

Definition at line 173 of file UnrealMathUtility.h.

◆ UE_DOUBLE_INV_PI

#define UE_DOUBLE_INV_PI   (0.31830988618379067154)

Definition at line 155 of file UnrealMathUtility.h.

◆ UE_DOUBLE_INV_SQRT_2

#define UE_DOUBLE_INV_SQRT_2   (0.70710678118654752440084436210485)

Definition at line 170 of file UnrealMathUtility.h.

◆ UE_DOUBLE_INV_SQRT_3

#define UE_DOUBLE_INV_SQRT_3   (0.57735026918962576450914878050196)

Definition at line 171 of file UnrealMathUtility.h.

◆ UE_DOUBLE_KINDA_SMALL_NUMBER

#define UE_DOUBLE_KINDA_SMALL_NUMBER   (1.e-4)

Definition at line 140 of file UnrealMathUtility.h.

◆ UE_DOUBLE_NON_FRACTIONAL

#define UE_DOUBLE_NON_FRACTIONAL   (4503599627370496.0) /* All double-precision floating point numbers greater than or equal to this have no fractional value. 2^52 */

Definition at line 144 of file UnrealMathUtility.h.

◆ UE_DOUBLE_NORMAL_THRESH

#define UE_DOUBLE_NORMAL_THRESH   (0.0001)

Definition at line 185 of file UnrealMathUtility.h.

◆ UE_DOUBLE_PI

#define UE_DOUBLE_PI   (3.141592653589793238462643383279502884197169399)

Definition at line 138 of file UnrealMathUtility.h.

◆ UE_DOUBLE_PI_SQUARED

#define UE_DOUBLE_PI_SQUARED   (9.86960440108935861883)

Definition at line 158 of file UnrealMathUtility.h.

◆ UE_DOUBLE_SMALL_NUMBER

#define UE_DOUBLE_SMALL_NUMBER   (1.e-8)

Definition at line 139 of file UnrealMathUtility.h.

◆ UE_DOUBLE_SQRT_2

#define UE_DOUBLE_SQRT_2   (1.4142135623730950488016887242097)

Definition at line 168 of file UnrealMathUtility.h.

◆ UE_DOUBLE_SQRT_3

#define UE_DOUBLE_SQRT_3   (1.7320508075688772935274463415059)

Definition at line 169 of file UnrealMathUtility.h.

◆ UE_DOUBLE_THRESH_NORMALS_ARE_ORTHOGONAL

#define UE_DOUBLE_THRESH_NORMALS_ARE_ORTHOGONAL   (0.017455) /* Two unit vectors are orthogonal (perpendicular) if abs(A dot B) is less than or equal this. This is roughly cosine(89.0 degrees). */

Definition at line 222 of file UnrealMathUtility.h.

◆ UE_DOUBLE_THRESH_NORMALS_ARE_PARALLEL

#define UE_DOUBLE_THRESH_NORMALS_ARE_PARALLEL   (0.999845) /* Two unit vectors are parallel if abs(A dot B) is greater than or equal to this. This is roughly cosine(1.0 degrees). */

Definition at line 221 of file UnrealMathUtility.h.

◆ UE_DOUBLE_THRESH_NORMALS_ARE_SAME

#define UE_DOUBLE_THRESH_NORMALS_ARE_SAME   (0.00002) /* Two normal points are same if within this distance */

Definition at line 213 of file UnrealMathUtility.h.

◆ UE_DOUBLE_THRESH_POINT_ON_PLANE

#define UE_DOUBLE_THRESH_POINT_ON_PLANE   (0.10) /* Thickness of plane for front/back/inside test */

Definition at line 209 of file UnrealMathUtility.h.

◆ UE_DOUBLE_THRESH_POINT_ON_SIDE

#define UE_DOUBLE_THRESH_POINT_ON_SIDE   (0.20) /* Thickness of polygon side's side-plane for point-inside/outside/on side test */

Definition at line 210 of file UnrealMathUtility.h.

◆ UE_DOUBLE_THRESH_POINTS_ARE_NEAR

#define UE_DOUBLE_THRESH_POINTS_ARE_NEAR   (0.015) /* Two points are near if within this distance and can be combined if imprecise math is ok */

Definition at line 212 of file UnrealMathUtility.h.

◆ UE_DOUBLE_THRESH_POINTS_ARE_SAME

#define UE_DOUBLE_THRESH_POINTS_ARE_SAME   (0.00002) /* Two points are same if within this distance */

Definition at line 211 of file UnrealMathUtility.h.

◆ UE_DOUBLE_THRESH_QUAT_NORMALIZED

#define UE_DOUBLE_THRESH_QUAT_NORMALIZED   (0.01) /** Allowed error for a normalized quaternion (against squared magnitude) */

Definition at line 225 of file UnrealMathUtility.h.

◆ UE_DOUBLE_THRESH_SPLIT_POLY_PRECISELY

#define UE_DOUBLE_THRESH_SPLIT_POLY_PRECISELY   (0.01) /* A plane exactly splits a polygon */

Definition at line 219 of file UnrealMathUtility.h.

◆ UE_DOUBLE_THRESH_SPLIT_POLY_WITH_PLANE

#define UE_DOUBLE_THRESH_SPLIT_POLY_WITH_PLANE   (0.25) /* A plane splits a polygon in half */

Definition at line 218 of file UnrealMathUtility.h.

◆ UE_DOUBLE_THRESH_UVS_ARE_SAME

#define UE_DOUBLE_THRESH_UVS_ARE_SAME   (0.0009765625)/* Two UV are same if within this threshold (1.0/1024.0) */

Definition at line 214 of file UnrealMathUtility.h.

◆ UE_DOUBLE_THRESH_VECTOR_NORMALIZED

#define UE_DOUBLE_THRESH_VECTOR_NORMALIZED   (0.01) /** Allowed error for a normalized vector (against squared magnitude) */

Definition at line 224 of file UnrealMathUtility.h.

◆ UE_DOUBLE_THRESH_VECTORS_ARE_NEAR

#define UE_DOUBLE_THRESH_VECTORS_ARE_NEAR   (0.0004) /* Two vectors are near if within this distance and can be combined if imprecise math is ok */

Definition at line 216 of file UnrealMathUtility.h.

◆ UE_DOUBLE_THRESH_ZERO_NORM_SQUARED

#define UE_DOUBLE_THRESH_ZERO_NORM_SQUARED   (0.0001) /* Size of a unit normal that is considered "zero", squared */

Definition at line 220 of file UnrealMathUtility.h.

◆ UE_DOUBLE_TWO_PI

#define UE_DOUBLE_TWO_PI   (6.28318530717958647692)

Definition at line 157 of file UnrealMathUtility.h.

◆ UE_EULERS_NUMBER

#define UE_EULERS_NUMBER   (2.71828182845904523536f)

Definition at line 133 of file UnrealMathUtility.h.

◆ UE_FLOAT_NON_FRACTIONAL

#define UE_FLOAT_NON_FRACTIONAL   (8388608.f) /* All single-precision floating point numbers greater than or equal to this have no fractional value. */

Definition at line 135 of file UnrealMathUtility.h.

◆ UE_FLOAT_NORMAL_THRESH

#define UE_FLOAT_NORMAL_THRESH   (0.0001f)

Lengths of normalized vectors (These are half their maximum values to assure that dot products with normalized vectors don't overflow).

Definition at line 184 of file UnrealMathUtility.h.

◆ UE_GOLDEN_RATIO

#define UE_GOLDEN_RATIO   (1.6180339887498948482045868343656381f) /* Also known as divine proportion, golden mean, or golden section - related to the Fibonacci Sequence = (1 + sqrt(5)) / 2 */

Definition at line 134 of file UnrealMathUtility.h.

◆ UE_HALF_PI

#define UE_HALF_PI   (1.57079632679f)

Definition at line 151 of file UnrealMathUtility.h.

◆ UE_HALF_SQRT_2

#define UE_HALF_SQRT_2   (0.70710678118654752440084436210485f)

Definition at line 165 of file UnrealMathUtility.h.

◆ UE_HALF_SQRT_3

#define UE_HALF_SQRT_3   (0.86602540378443864676372317075294f)

Definition at line 166 of file UnrealMathUtility.h.

◆ UE_INCLUDETOOL_IGNORE_INCONSISTENT_STATE

#define UE_INCLUDETOOL_IGNORE_INCONSISTENT_STATE

Definition at line 38 of file UnrealMathUtility.h.

◆ UE_INV_PI

#define UE_INV_PI   (0.31830988618f)

Definition at line 150 of file UnrealMathUtility.h.

◆ UE_INV_SQRT_2

#define UE_INV_SQRT_2   (0.70710678118654752440084436210485f)

Definition at line 163 of file UnrealMathUtility.h.

◆ UE_INV_SQRT_3

#define UE_INV_SQRT_3   (0.57735026918962576450914878050196f)

Definition at line 164 of file UnrealMathUtility.h.

◆ UE_KINDA_SMALL_NUMBER

#define UE_KINDA_SMALL_NUMBER   (1.e-4f)

Definition at line 131 of file UnrealMathUtility.h.

◆ UE_MAX_FLT

#define UE_MAX_FLT   3.402823466e+38F

Definition at line 147 of file UnrealMathUtility.h.

◆ UE_PI

#define UE_PI   (3.1415926535897932f) /* Extra digits if needed: 3.1415926535897932384626433832795f */

Definition at line 129 of file UnrealMathUtility.h.

◆ UE_PI_SQUARED

#define UE_PI_SQUARED   (9.86960440108f)

Definition at line 153 of file UnrealMathUtility.h.

◆ UE_PRIVATE_MATH_DEPRECATION

#define UE_PRIVATE_MATH_DEPRECATION ( Before,
After )

Definition at line 61 of file UnrealMathUtility.h.

◆ UE_SMALL_NUMBER

#define UE_SMALL_NUMBER   (1.e-8f)

Definition at line 130 of file UnrealMathUtility.h.

◆ UE_SQRT_2

#define UE_SQRT_2   (1.4142135623730950488016887242097f)

Definition at line 161 of file UnrealMathUtility.h.

◆ UE_SQRT_3

#define UE_SQRT_3   (1.7320508075688772935274463415059f)

Definition at line 162 of file UnrealMathUtility.h.

◆ UE_THRESH_NORMALS_ARE_ORTHOGONAL

#define UE_THRESH_NORMALS_ARE_ORTHOGONAL   (0.017455f) /* Two unit vectors are orthogonal (perpendicular) if abs(A dot B) is less than or equal this. This is roughly cosine(89.0 degrees). */

Definition at line 203 of file UnrealMathUtility.h.

◆ UE_THRESH_NORMALS_ARE_PARALLEL

#define UE_THRESH_NORMALS_ARE_PARALLEL   (0.999845f) /* Two unit vectors are parallel if abs(A dot B) is greater than or equal to this. This is roughly cosine(1.0 degrees). */

Definition at line 202 of file UnrealMathUtility.h.

◆ UE_THRESH_NORMALS_ARE_SAME

#define UE_THRESH_NORMALS_ARE_SAME   (0.00002f) /* Two normal points are same if within this distance */

Definition at line 194 of file UnrealMathUtility.h.

◆ UE_THRESH_POINT_ON_PLANE

#define UE_THRESH_POINT_ON_PLANE   (0.10f) /* Thickness of plane for front/back/inside test */

Definition at line 190 of file UnrealMathUtility.h.

◆ UE_THRESH_POINT_ON_SIDE

#define UE_THRESH_POINT_ON_SIDE   (0.20f) /* Thickness of polygon side's side-plane for point-inside/outside/on side test */

Definition at line 191 of file UnrealMathUtility.h.

◆ UE_THRESH_POINTS_ARE_NEAR

#define UE_THRESH_POINTS_ARE_NEAR   (0.015f) /* Two points are near if within this distance and can be combined if imprecise math is ok */

Definition at line 193 of file UnrealMathUtility.h.

◆ UE_THRESH_POINTS_ARE_SAME

#define UE_THRESH_POINTS_ARE_SAME   (0.00002f) /* Two points are same if within this distance */

Definition at line 192 of file UnrealMathUtility.h.

◆ UE_THRESH_QUAT_NORMALIZED

#define UE_THRESH_QUAT_NORMALIZED   (0.01f) /** Allowed error for a normalized quaternion (against squared magnitude) */

Definition at line 206 of file UnrealMathUtility.h.

◆ UE_THRESH_SPLIT_POLY_PRECISELY

#define UE_THRESH_SPLIT_POLY_PRECISELY   (0.01f) /* A plane exactly splits a polygon */

Definition at line 200 of file UnrealMathUtility.h.

◆ UE_THRESH_SPLIT_POLY_WITH_PLANE

#define UE_THRESH_SPLIT_POLY_WITH_PLANE   (0.25f) /* A plane splits a polygon in half */

Definition at line 199 of file UnrealMathUtility.h.

◆ UE_THRESH_UVS_ARE_SAME

#define UE_THRESH_UVS_ARE_SAME   (0.0009765625f)/* Two UV are same if within this threshold (1.0f/1024f) */

Definition at line 195 of file UnrealMathUtility.h.

◆ UE_THRESH_VECTOR_NORMALIZED

#define UE_THRESH_VECTOR_NORMALIZED   (0.01f) /** Allowed error for a normalized vector (against squared magnitude) */

Definition at line 205 of file UnrealMathUtility.h.

◆ UE_THRESH_VECTORS_ARE_NEAR

#define UE_THRESH_VECTORS_ARE_NEAR   (0.0004f) /* Two vectors are near if within this distance and can be combined if imprecise math is ok */

Definition at line 197 of file UnrealMathUtility.h.

◆ UE_THRESH_ZERO_NORM_SQUARED

#define UE_THRESH_ZERO_NORM_SQUARED   (0.0001f) /* Size of a unit normal that is considered "zero", squared */

Definition at line 201 of file UnrealMathUtility.h.

◆ UE_TWO_PI

#define UE_TWO_PI   (6.28318530717f)

Definition at line 152 of file UnrealMathUtility.h.