Navigation
API > API/Runtime > API/Runtime/GeometryCore
References
| Module | GeometryCore |
| Header | /Engine/Source/Runtime/GeometryCore/Public/MathUtil.h |
| Include | #include "MathUtil.h" |
Syntax
template<>
struct TMathUtilConstants< float >
Constants
| 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 |
| SafeLargeValue | A very large value, but not too close to the max possible for the type |
| 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 |