9 #ifndef CUBBYFLOW_CONSTANTS_H 10 #define CUBBYFLOW_CONSTANTS_H 73 constexpr
float PI_FLOAT = 3.14159265358979323846264338327950288f;
75 constexpr
double PI_DOUBLE = 3.14159265358979323846264338327950288;
106 template <
typename T>
134 template <
typename T>
constexpr int DIRECTION_DOWN
Down direction.
Definition: Constants.h:175
constexpr double WATER_DENSITY
Water density.
Definition: Constants.h:159
constexpr int DIRECTION_BACK
Back direction.
Definition: Constants.h:181
constexpr T QuarterPI()
PI/4 for type T.
Definition: Constants.h:135
constexpr float HalfPI< float >()
PI/2 for float.
Definition: Constants.h:114
constexpr T HalfPI()
PI/2 for type T.
Definition: Constants.h:107
constexpr float One< float >()
One for float.
Definition: Constants.h:59
constexpr int DIRECTION_ALL
All direction.
Definition: Constants.h:187
constexpr T One()
One for type T.
Definition: Constants.h:52
constexpr double PI_DOUBLE
Double-type PI.
Definition: Constants.h:75
constexpr int DIRECTION_FRONT
Front direction.
Definition: Constants.h:184
constexpr int DIRECTION_UP
Up direction.
Definition: Constants.h:178
constexpr float PI< float >()
Pi for float.
Definition: Constants.h:86
constexpr float HALF_PI_FLOAT
Float-type PI/2.
Definition: Constants.h:100
constexpr int DIRECTION_RIGHT
RIght direction.
Definition: Constants.h:172
constexpr float QUARTER_PI_FLOAT
Float-type PI/4.
Definition: Constants.h:128
constexpr double HalfPI< double >()
PI/2 for double.
Definition: Constants.h:121
constexpr float Zero< float >()
Zero for float.
Definition: Constants.h:31
constexpr double GRAVITY
Gravity.
Definition: Constants.h:156
constexpr size_t ONE_SIZE
One size_t.
Definition: Constants.h:45
constexpr double PI< double >()
Pi for double.
Definition: Constants.h:93
Definition: pybind11Utils.h:24
constexpr float PI_FLOAT
Float-type PI.
Definition: Constants.h:73
constexpr ssize_t ONE_SSIZE
One ssize_t.
Definition: Constants.h:48
constexpr int DIRECTION_NONE
No direction.
Definition: Constants.h:166
constexpr float QuarterPI< float >()
PI/4 for float.
Definition: Constants.h:142
constexpr double QuarterPI< double >()
PI/4 for double.
Definition: Constants.h:149
constexpr size_t ZERO_SIZE
Zero size_t.
Definition: Constants.h:18
constexpr int DIRECTION_LEFT
Left direction.
Definition: Constants.h:169
constexpr double Zero< double >()
Zero for double.
Definition: Constants.h:38
constexpr double SPEED_OF_SOUND_IN_WATER
Speed of sound in water at 20 degrees Celsius.
Definition: Constants.h:162
constexpr ssize_t ZERO_SSIZE
Zero ssize_t.
Definition: Constants.h:20
constexpr double QUARTER_PI_DOUBLE
Double-type PI/4.
Definition: Constants.h:131
constexpr T Zero()
Zero for type T.
Definition: Constants.h:24
constexpr double One< double >()
One for double.
Definition: Constants.h:66
constexpr T PI()
PI for type T.
Definition: Constants.h:79
constexpr double HALF_PI_DOUBLE
Double-type PI/2.
Definition: Constants.h:103