Ark Server API (ASA) - Wiki
|
#include "CoreTypes.h"
#include "Misc/AssertionMacros.h"
#include "HAL/PlatformMath.h"
#include "Math/MathFwd.h"
#include "Templates/Decay.h"
#include "Templates/IsFloatingPoint.h"
#include "Templates/IsIntegral.h"
Go to the source code of this file.
Classes | |
struct | TCustomLerp< T > |
struct | FMath |
Namespaces | |
namespace | UE |
namespace | UE::LWC |
Functions | |
template<typename TDest , typename TSrc , typename InAllocatorType > | |
TArray< TDest, InAllocatorType > | UE::LWC::ConvertArrayType (const TArray< TSrc, InAllocatorType > &From) |
template<typename TDest , typename TSrc , typename InAllocatorType > | |
TArray< TDest, InAllocatorType > | UE::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) |
#define BIG_NUMBER UE_PRIVATE_MATH_DEPRECATION(BIG_NUMBER , UE_BIG_NUMBER ) UE_BIG_NUMBER |
Definition at line 68 of file UnrealMathUtility.h.
#define DELTA UE_PRIVATE_MATH_DEPRECATION(DELTA , UE_DELTA ) UE_DELTA |
Definition at line 93 of file UnrealMathUtility.h.
#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.
#define DOUBLE_DELTA UE_PRIVATE_MATH_DEPRECATION(DOUBLE_DELTA , UE_DOUBLE_DELTA ) UE_DOUBLE_DELTA |
Definition at line 94 of file UnrealMathUtility.h.
#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.
#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.
#define DOUBLE_INV_PI UE_PRIVATE_MATH_DEPRECATION(DOUBLE_INV_PI , UE_DOUBLE_INV_PI ) UE_DOUBLE_INV_PI |
Definition at line 83 of file UnrealMathUtility.h.
#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.
#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.
#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.
#define DOUBLE_PI UE_PRIVATE_MATH_DEPRECATION(DOUBLE_PI , UE_DOUBLE_PI ) UE_DOUBLE_PI |
Definition at line 71 of file UnrealMathUtility.h.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#define DOUBLE_TWO_PI UE_PRIVATE_MATH_DEPRECATION(DOUBLE_TWO_PI , UE_DOUBLE_TWO_PI ) UE_DOUBLE_TWO_PI |
Definition at line 85 of file UnrealMathUtility.h.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#define ENABLE_NAN_DIAGNOSTIC 0 |
Definition at line 18 of file UnrealMathUtility.h.
#define EULERS_NUMBER UE_PRIVATE_MATH_DEPRECATION(EULERS_NUMBER , UE_EULERS_NUMBER ) UE_EULERS_NUMBER |
Definition at line 69 of file UnrealMathUtility.h.
#define FASTASIN_HALF_PI (1.5707963050f) |
Definition at line 768 of file UnrealMathUtility.h.
#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.
#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.
#define HALF_PI UE_PRIVATE_MATH_DEPRECATION(HALF_PI , UE_HALF_PI ) UE_HALF_PI |
Definition at line 80 of file UnrealMathUtility.h.
#define INV_PI UE_PRIVATE_MATH_DEPRECATION(INV_PI , UE_INV_PI ) UE_INV_PI |
Definition at line 79 of file UnrealMathUtility.h.
#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.
#define MAX_FLT UE_PRIVATE_MATH_DEPRECATION(MAX_FLT , UE_MAX_FLT ) UE_MAX_FLT |
Definition at line 78 of file UnrealMathUtility.h.
#define PI UE_PRIVATE_MATH_DEPRECATION(PI , UE_PI ) UE_PI |
Definition at line 65 of file UnrealMathUtility.h.
#define PI_SQUARED UE_PRIVATE_MATH_DEPRECATION(PI_SQUARED , UE_PI_SQUARED ) UE_PI_SQUARED |
Definition at line 82 of file UnrealMathUtility.h.
#define SMALL_NUMBER UE_PRIVATE_MATH_DEPRECATION(SMALL_NUMBER , UE_SMALL_NUMBER ) UE_SMALL_NUMBER |
Definition at line 66 of file UnrealMathUtility.h.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#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.
#define TWO_PI UE_PRIVATE_MATH_DEPRECATION(TWO_PI , UE_TWO_PI ) UE_TWO_PI |
Definition at line 81 of file UnrealMathUtility.h.
#define UE_BIG_NUMBER (3.4e+38f) |
Definition at line 132 of file UnrealMathUtility.h.
#define UE_DEFINE_LEGACY_MATH_CONSTANT_MACRO_NAMES 1 |
Definition at line 47 of file UnrealMathUtility.h.
#define UE_DELTA (0.00001f) |
Definition at line 177 of file UnrealMathUtility.h.
#define UE_DEPRECATE_LEGACY_MATH_CONSTANT_MACRO_NAMES 0 |
Definition at line 42 of file UnrealMathUtility.h.
#define UE_DOUBLE_BIG_NUMBER (3.4e+38) |
Definition at line 141 of file UnrealMathUtility.h.
#define UE_DOUBLE_DELTA (0.00001 ) |
Definition at line 178 of file UnrealMathUtility.h.
#define UE_DOUBLE_EULERS_NUMBER (2.7182818284590452353602874713526624977572) |
Definition at line 142 of file UnrealMathUtility.h.
#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.
#define UE_DOUBLE_HALF_PI (1.57079632679489661923) |
Definition at line 156 of file UnrealMathUtility.h.
#define UE_DOUBLE_HALF_SQRT_2 (0.70710678118654752440084436210485) |
Definition at line 172 of file UnrealMathUtility.h.
#define UE_DOUBLE_HALF_SQRT_3 (0.86602540378443864676372317075294) |
Definition at line 173 of file UnrealMathUtility.h.
#define UE_DOUBLE_INV_PI (0.31830988618379067154) |
Definition at line 155 of file UnrealMathUtility.h.
#define UE_DOUBLE_INV_SQRT_2 (0.70710678118654752440084436210485) |
Definition at line 170 of file UnrealMathUtility.h.
#define UE_DOUBLE_INV_SQRT_3 (0.57735026918962576450914878050196) |
Definition at line 171 of file UnrealMathUtility.h.
#define UE_DOUBLE_KINDA_SMALL_NUMBER (1.e-4) |
Definition at line 140 of file UnrealMathUtility.h.
#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.
#define UE_DOUBLE_NORMAL_THRESH (0.0001) |
Definition at line 185 of file UnrealMathUtility.h.
#define UE_DOUBLE_PI (3.141592653589793238462643383279502884197169399) |
Definition at line 138 of file UnrealMathUtility.h.
#define UE_DOUBLE_PI_SQUARED (9.86960440108935861883) |
Definition at line 158 of file UnrealMathUtility.h.
#define UE_DOUBLE_SMALL_NUMBER (1.e-8) |
Definition at line 139 of file UnrealMathUtility.h.
#define UE_DOUBLE_SQRT_2 (1.4142135623730950488016887242097) |
Definition at line 168 of file UnrealMathUtility.h.
#define UE_DOUBLE_SQRT_3 (1.7320508075688772935274463415059) |
Definition at line 169 of file UnrealMathUtility.h.
#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.
#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.
#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.
Definition at line 209 of file UnrealMathUtility.h.
#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.
#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.
#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.
#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.
Definition at line 219 of file UnrealMathUtility.h.
Definition at line 218 of file UnrealMathUtility.h.
#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.
#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.
#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.
#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.
#define UE_DOUBLE_TWO_PI (6.28318530717958647692) |
Definition at line 157 of file UnrealMathUtility.h.
#define UE_EULERS_NUMBER (2.71828182845904523536f) |
Definition at line 133 of file UnrealMathUtility.h.
#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.
#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.
#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.
#define UE_HALF_PI (1.57079632679f) |
Definition at line 151 of file UnrealMathUtility.h.
#define UE_HALF_SQRT_2 (0.70710678118654752440084436210485f) |
Definition at line 165 of file UnrealMathUtility.h.
#define UE_HALF_SQRT_3 (0.86602540378443864676372317075294f) |
Definition at line 166 of file UnrealMathUtility.h.
#define UE_INCLUDETOOL_IGNORE_INCONSISTENT_STATE |
Definition at line 38 of file UnrealMathUtility.h.
#define UE_INV_PI (0.31830988618f) |
Definition at line 150 of file UnrealMathUtility.h.
#define UE_INV_SQRT_2 (0.70710678118654752440084436210485f) |
Definition at line 163 of file UnrealMathUtility.h.
#define UE_INV_SQRT_3 (0.57735026918962576450914878050196f) |
Definition at line 164 of file UnrealMathUtility.h.
#define UE_KINDA_SMALL_NUMBER (1.e-4f) |
Definition at line 131 of file UnrealMathUtility.h.
Definition at line 147 of file UnrealMathUtility.h.
#define UE_PI (3.1415926535897932f) /* Extra digits if needed: 3.1415926535897932384626433832795f */ |
Definition at line 129 of file UnrealMathUtility.h.
#define UE_PI_SQUARED (9.86960440108f) |
Definition at line 153 of file UnrealMathUtility.h.
Definition at line 61 of file UnrealMathUtility.h.
#define UE_SMALL_NUMBER (1.e-8f) |
Definition at line 130 of file UnrealMathUtility.h.
#define UE_SQRT_2 (1.4142135623730950488016887242097f) |
Definition at line 161 of file UnrealMathUtility.h.
#define UE_SQRT_3 (1.7320508075688772935274463415059f) |
Definition at line 162 of file UnrealMathUtility.h.
#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.
#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.
#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.
Definition at line 190 of file UnrealMathUtility.h.
#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.
#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.
Definition at line 192 of file UnrealMathUtility.h.
#define UE_THRESH_QUAT_NORMALIZED (0.01f) /** Allowed error for a normalized quaternion (against squared magnitude) */ |
Definition at line 206 of file UnrealMathUtility.h.
Definition at line 200 of file UnrealMathUtility.h.
Definition at line 199 of file UnrealMathUtility.h.
#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.
#define UE_THRESH_VECTOR_NORMALIZED (0.01f) /** Allowed error for a normalized vector (against squared magnitude) */ |
Definition at line 205 of file UnrealMathUtility.h.
#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.
#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.
#define UE_TWO_PI (6.28318530717f) |
Definition at line 152 of file UnrealMathUtility.h.