Navigation
API > API/Runtime > API/Runtime/GeometryCore
| Name | TMathUtilConstants< float > |
| Type | struct |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/MathUtil.h |
| Include Path | #include "MathUtil.h" |
Syntax
template<>
struct TMathUtilConstants< float >
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DegToRad | float | Pi / 180 | MathUtil.h |
| Epsilon | float | Machine Epsilon - float approx 1e-7, double approx 2e-16 | MathUtil.h |
| FourPi | float | MathUtil.h | |
| HalfPi | float | MathUtil.h | |
| InvPi | float | 1.0 / Pi | MathUtil.h |
| InvSqrt2 | float | MathUtil.h | |
| InvSqrt3 | float | MathUtil.h | |
| InvTwoPi | float | 1.0 / (2*Pi) | MathUtil.h |
| MaxReal | float | Largest possible number for type | MathUtil.h |
| Pi | float | 3.14159... | MathUtil.h |
| RadToDeg | float | 180 / pi | MathUtil.h |
| SafeLargeValue | float | A very large value, but not too close to the max possible for the type | MathUtil.h |
| Sqrt2 | float | Static constexpr float LN_2; static constexpr float LN_10; static constexpr float INV_LN_2; static constexpr float INV_LN_10; | MathUtil.h |
| Sqrt3 | float | MathUtil.h | |
| TwoPi | float | MathUtil.h | |
| ZeroTolerance | float | Zero tolerance for math operations (eg like parallel tests) - float 1e-6, double 1e-8 | MathUtil.h |