PF_API 0.52
|
#include <math.h>
#include <assert.h>
#include <time.h>
#include <unistd.h>
#include "../Utils_LIB/UTypes.h"
Go to the source code of this file.
Namespaces | |
namespace | OpenSkyNet |
namespace | OpenSkyNet::Math |
All Math classes, functions, variables, and constants. | |
Functions | |
const float | OpenSkyNet::Math::PI (3.14159265f) |
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 |
long CLK_TCK |