Sen API
Sen Libraries
Loading...
Searching...
No Matches
constants.h File Reference

Go to the source code of this file.

Namespaces

namespace  sen
namespace  sen::util

Variables

constexpr f64 sen::util::pi = 3.14159265358979323846
 PI constant.
constexpr f32 sen::util::pif = static_cast<f32>(pi)
constexpr f64 sen::util::twoPi = 2.0 * pi
 2 * PI constant
constexpr f64 sen::util::halfPi = pi * 0.5
 PI / 2 constant.
constexpr f64 sen::util::earthSemiMajorAxis = 6378137.0
 Earth's semi.major axis in meters.
constexpr f64 sen::util::earthFlattening = 1.0 / 298.257223563
 Earth's flattening.
constexpr f64 sen::util::eccentricitySquared = 6.69437999014e-3
 Square of first eccentricity.
constexpr f32 sen::util::epsilon = 0.1f
 Min value used to determine that an entity is not moving/accelerating.