Constants.h File Reference
#include <Core/Utils/Macros.h>
Go to the source code of this file.
Namespaces | |
CubbyFlow | |
Functions | |
template<typename T > | |
constexpr T | CubbyFlow::Zero () |
Zero for type T. More... | |
template<> | |
constexpr float | CubbyFlow::Zero< float > () |
Zero for float. More... | |
template<> | |
constexpr double | CubbyFlow::Zero< double > () |
Zero for double. More... | |
template<typename T > | |
constexpr T | CubbyFlow::One () |
One for type T. More... | |
template<> | |
constexpr float | CubbyFlow::One< float > () |
One for float. More... | |
template<> | |
constexpr double | CubbyFlow::One< double > () |
One for double. More... | |
template<typename T > | |
constexpr T | CubbyFlow::PI () |
PI for type T. More... | |
template<> | |
constexpr float | CubbyFlow::PI< float > () |
Pi for float. More... | |
template<> | |
constexpr double | CubbyFlow::PI< double > () |
Pi for double. More... | |
template<typename T > | |
constexpr T | CubbyFlow::HalfPI () |
PI/2 for type T. More... | |
template<> | |
constexpr float | CubbyFlow::HalfPI< float > () |
PI/2 for float. More... | |
template<> | |
constexpr double | CubbyFlow::HalfPI< double > () |
PI/2 for double. More... | |
template<typename T > | |
constexpr T | CubbyFlow::QuarterPI () |
PI/4 for type T. More... | |
template<> | |
constexpr float | CubbyFlow::QuarterPI< float > () |
PI/4 for float. More... | |
template<> | |
constexpr double | CubbyFlow::QuarterPI< double > () |
PI/4 for double. More... | |
Variables | |
constexpr size_t | CubbyFlow::ZERO_SIZE = 0 |
Zero size_t. More... | |
constexpr ssize_t | CubbyFlow::ZERO_SSIZE = 0 |
Zero ssize_t. More... | |
constexpr size_t | CubbyFlow::ONE_SIZE = 1 |
One size_t. More... | |
constexpr ssize_t | CubbyFlow::ONE_SSIZE = 1 |
One ssize_t. More... | |
constexpr float | CubbyFlow::PI_FLOAT = 3.14159265358979323846264338327950288f |
Float-type PI. More... | |
constexpr double | CubbyFlow::PI_DOUBLE = 3.14159265358979323846264338327950288 |
Double-type PI. More... | |
constexpr float | CubbyFlow::HALF_PI_FLOAT = 1.57079632679489661923132169163975144f |
Float-type PI/2. More... | |
constexpr double | CubbyFlow::HALF_PI_DOUBLE = 1.57079632679489661923132169163975144 |
Double-type PI/2. More... | |
constexpr float | CubbyFlow::QUARTER_PI_FLOAT = 0.785398163397448309615660845819875721f |
Float-type PI/4. More... | |
constexpr double | CubbyFlow::QUARTER_PI_DOUBLE = 0.785398163397448309615660845819875721 |
Double-type PI/4. More... | |
constexpr double | CubbyFlow::GRAVITY = -9.8 |
Gravity. More... | |
constexpr double | CubbyFlow::WATER_DENSITY = 1000.0 |
Water density. More... | |
constexpr double | CubbyFlow::SPEED_OF_SOUND_IN_WATER = 1482.0 |
Speed of sound in water at 20 degrees Celsius. More... | |
constexpr int | CubbyFlow::DIRECTION_NONE = 0 |
No direction. More... | |
constexpr int | CubbyFlow::DIRECTION_LEFT = 1 << 0 |
Left direction. More... | |
constexpr int | CubbyFlow::DIRECTION_RIGHT = 1 << 1 |
RIght direction. More... | |
constexpr int | CubbyFlow::DIRECTION_DOWN = 1 << 2 |
Down direction. More... | |
constexpr int | CubbyFlow::DIRECTION_UP = 1 << 3 |
Up direction. More... | |
constexpr int | CubbyFlow::DIRECTION_BACK = 1 << 4 |
Back direction. More... | |
constexpr int | CubbyFlow::DIRECTION_FRONT = 1 << 5 |
Front direction. More... | |
constexpr int | CubbyFlow::DIRECTION_ALL |
All direction. More... | |