SuperDex Physics C++ API
Loading...
Searching...
No Matches
constants.h File Reference
#include <mochi_core/utils/nd_array.h>
#include <limits>

Go to the source code of this file.

Classes

struct  superdex::TetFaces

Namespaces

namespace  superdex

Functions

constexpr auto superdex::FourthOrderEye ()
constexpr auto superdex::FourthOrderEyeSym ()
constexpr auto superdex::IouterI ()

Variables

constexpr real superdex::kDegreesPerRadian = 180_r / kPI
static constexpr NdArray< real, 3, 3, 3, 3 > superdex::kFourthOrderEye = FourthOrderEye()
static constexpr NdArray< real, 3, 3, 3, 3 > superdex::kFourthOrderEyeSym = FourthOrderEyeSym()
constexpr real superdex::kInf = std::numeric_limits<real>::infinity()
constexpr Real3 superdex::kInf3 = {kInf, kInf, kInf}
static constexpr NdArray< real, 3, 3, 3, 3 > superdex::kIouterI = IouterI()
constexpr Real2 superdex::kMinus2PiPlus2Pi = {-2_r * kPI, 2_r * kPI}
template<typename T>
constexpr T superdex::kMinusOne = T{0} - 1
constexpr real superdex::kPI = 3.14159265358979323846_r
constexpr real superdex::kRadiansPerDegree = kPI / 180_r
constexpr Real3 superdex::kReal3Ones = {1_r, 1_r, 1_r}
constexpr Real3 superdex::kReal3XAxis = {1_r, 0_r, 0_r}
constexpr Real3 superdex::kReal3YAxis = {0_r, 1_r, 0_r}
constexpr Real3 superdex::kReal3ZAxis = {0_r, 0_r, 1_r}
constexpr Real3 superdex::kReal3Zeros = {0_r, 0_r, 0_r}
constexpr NdArray< real, 3, 3 > superdex::kSecondOrderIdentity
constexpr int superdex::kSentinelIndex = -1
constexpr real superdex::kSqrt2 = 1.41421356237309504880_r
constexpr real superdex::kSqrt3Over2 = 0.86602540378443864676_r
constexpr real superdex::kSqrtPi = 1.772453850905515881919427556567825376987457275390625_r
constexpr Real2 superdex::kUnitInterval = {0_r, 1_r}