Back to index

nux  3.0.0
Namespaces | Variables
Constants.cpp File Reference
#include "../NuxCore.h"
#include "Constants.h"
#include <limits>

Go to the source code of this file.


namespace  nux
 The Writer singleton is responsible for controlling where the logging message go.
namespace  nux::constants


const float nux::constants::pi = 3.1415926535f
const float nux::constants::e = 2.7182817f
const float nux::constants::sqrt2 = 1.414214f
const float nux::constants::sqrt3 = 1.732051f
const float nux::constants::golden = 1.618034f
const double nux::constants::epsilon_milli = 0.001
const double nux::constants::epsilon_micro = 0.000001
const double nux::constants::epsilon_nano = 0.000000001
const double nux::constants::epsilon_pico = 0.000000000001
const double nux::constants::epsilon_femto = 0.000000000000001