Vegastrike 0.5.1 rc1
1.0
Original sources for Vegastrike Evolved
|
Go to the source code of this file.
Macros | |
#define | M_PI 3.14159265358979323846 |
#define | PI M_PI |
#define | M_1_PI (1/M_PI) |
#define | FINITE(x) ( _finite( x ) ) |
#define | ISNAN(x) ( _isnan( x ) ) |
Definition at line 51 of file vs_math.h.
Referenced by Unit::Accelerate(), aim_assist(), Unit::ApplyForce(), Unit::ApplyLocalForce(), Unit::AutoPilotToErrorMessage(), Unit::calculate_extent(), Collidable::Collidable(), Unit::cosAngleTo(), Unit::DealDamageToHullReturnArmor(), Unit::DealDamageToShield(), prettyPrintFloat(), Unit::RegenShields(), Unit::ResolveForces(), SaveGame::SetPlayerLocation(), Collidable::SetPosition(), Camera::SetPosition(), and upd().
Definition at line 52 of file vs_math.h.
Referenced by Unit::ClampThrust(), Unit::ClampTorque(), Collidable::Collidable(), prettyPrintFloat(), and Collidable::SetPosition().
#define M_1_PI (1/M_PI) |
Definition at line 41 of file vs_math.h.
Referenced by Audio::OpenALRenderableSource::updateImpl(), and Audio::OpenALRenderableStreamingSource::updateImpl().