Module |
|
Header |
/Engine/Plugins/Experimental/GeometryProcessing/Source/GeometricObjects/Public/MathUtil.h |
Include |
#include "MathUtil.h" |
template<>
struct TMathUtilConstants< float >
Name |
Description |
---|---|
DegToRad |
Pi / 180 |
Epsilon |
Machine Epsilon - float approx 1e-7, double approx 2e-16 |
FourPi |
|
HalfPi |
|
InvPi |
1.0 / Pi |
InvSqrt2 |
|
InvSqrt3 |
|
InvTwoPi |
1.0 / (2*Pi) |
MaxReal |
Largest possible number for type |
Pi |
3.14159... |
RadToDeg |
180 / pi |
Sqrt2 |
Static constexpr float LN_2; static constexpr float LN_10; static constexpr float INV_LN_2; static constexpr float INV_LN_10; |
Sqrt3 |
|
TwoPi |
|
ZeroTolerance |
Zero tolerance for math operations (eg like parallel tests) - float 1e-6, double 1e-8 |