#include <Math.h>
Include dependency graph for DeFacto/Math/Math.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | PI 3.1415926535897932384626433832795f |
#define | TWOPI 6.28318530717958f |
#define | PIDIV2 1.57079632679489f |
#define | PIdiv180 (PI/180.0f) |
#define | round(x) (x<0?ceil((x)-0.5):floor((x)+0.5)) |
#define | GRAVITY Vec3(0.0f, -9.82f, 0.0f) |
#define | RANDOM_NUM (((float)rand()-(float)rand())/RAND_MAX) |
#define | Clamp(x, min, max) x=(x<min ? min : (x<max? x : max)); |
|
Definition at line 24 of file DeFacto/Math/Math.h. Referenced by OpenGLParticleSystem::drawAndUpdate(), and ParticleSystem::update(). |
|
Definition at line 19 of file DeFacto/Math/Math.h. Referenced by Granade::update(). |
|
Math.h Author: Petter Alstermark, petter@alstermark.com Definition at line 12 of file DeFacto/Math/Math.h. Referenced by Play::bot(), Quaternion::createFromAxisAngle(), Sphere::createSphereGeometry(), Menu::drawFrame(), and Join::update(). |
|
Definition at line 15 of file DeFacto/Math/Math.h. Referenced by Play::bot(), Join::drawLevels(), Play::handleKeys(), Join::loadGalaxies(), and Play::update(). |
|
Definition at line 14 of file DeFacto/Math/Math.h. Referenced by Sphere::createSphereGeometry(). |
|
Definition at line 23 of file DeFacto/Math/Math.h. Referenced by OpenGLParticleSystem::drawAndUpdate(), Menu::load(), Play::networkLoop(), and ParticleSystem::update(). |
|
Definition at line 17 of file DeFacto/Math/Math.h. Referenced by ObjLevel::collission(), Play::dealExtras(), ObjLevel::getExtras(), ObjLevel::getSpawnpool(), ObjLevel::isWall(), and ObjLevel::isWater(). |
|
Definition at line 13 of file DeFacto/Math/Math.h. Referenced by Tube::createFlatTube(), and Sphere::createSphereGeometry(). |