![]() |
Tactics: Western Philosophers Vs. Musicians
0.12
A turn-based tactical game combining rules and gameplay elements inspired by Final Fantasy Tactics and the Mayfair Exponential Game System. Unlike most games of this type, motion is in full, grid-less 3D.
|
Commmon math functions and constants. More...
#include "../Utils_LIB/UTypes.h"#include <stdlib.h>#include <math.h>#include <assert.h>#include <time.h>#include <unistd.h>Go to the source code of this file.
Namespaces | |
| OpenSkyNet | |
| OpenSkyNet::Math | |
| All Math classes, functions, variables, and constants. | |
Functions | |
| const float | OpenSkyNet::Math::PI (3.14159265f) |
| const float | OpenSkyNet::Math::DEGREES_TO_RADIANS (0.01745329f) |
| const float | OpenSkyNet::Math::RADIANS_TO_DEGREES (57.29577951f) |
| const float | OpenSkyNet::Math::PSEUDO_INFINITY (1000000.0f) |
| const float | OpenSkyNet::Math::CLOSE_TO_ZERO (0.00001f) |
| float | OpenSkyNet::Math::getRadFromDeg (float deg_) |
| float | OpenSkyNet::Math::rand01 () |
| float | OpenSkyNet::Math::randNeg1Pos1 () |
| int | OpenSkyNet::Math::roundToInt (double num_) |
| Utils::uint | OpenSkyNet::Math::roundToUInt (float num_) |
| Utils::uint | OpenSkyNet::Math::timeStamp () |
| template<class T > | |
| T | OpenSkyNet::Math::clamp (T &num_, const T &min_=0, const T &max_=1) |
Variables | |
| long | CLK_TCK |
Commmon math functions and constants.
| long CLK_TCK |
1.8.6