IceShard 1
A personal game engine project, with development focused on 2D/2.5D games.
Loading...
Searching...
No Matches
constants.hxx File Reference
#include <ice/base.hxx>
#include <limits>

Go to the source code of this file.

Namespaces

namespace  ice
 SPDX-License-Identifier: MIT.
namespace  ice::math

Variables

static constexpr ice::f32 ice::math::f32_eps = std::numeric_limits<f32>::epsilon()
static constexpr ice::f32 ice::math::f32_pi = 3.14159265358979323846f
static constexpr ice::f32 ice::math::f32_half_pi = 3.14159265358979323846f * 0.5f
static constexpr ice::f64 ice::math::f64_eps = std::numeric_limits<f64>::epsilon()
static constexpr ice::f64 ice::math::f64_pi = 3.14159265358979323846
static constexpr ice::f64 ice::math::f64_half_pi = 3.14159265358979323846 * 0.5