#include <common/DefinesMath.h>#include <common/Defines.h>#include <math.h>Go to the source code of this file.
Functions | |
| static void | calculateFast () |
| float | getFastSin (float angle) |
| float | getFastCos (float angle) |
Variables | |
| static float | fastSin [628] |
| static float | fastCos [628] |
| static bool | calculatedFast = false |
| static void calculateFast | ( | ) | [static] |
Definition at line 29 of file DefinesMath.cpp.
References calculatedFast, fastCos, and fastSin.
Referenced by getFastCos(), and getFastSin().
| float getFastCos | ( | float | angle | ) |
Definition at line 50 of file DefinesMath.cpp.
Referenced by MissileMesh::draw(), TargetRendererImpl::drawShield(), ParticleEmitter::emitDebris(), ParticleEmitter::emitExplosionRing(), ExplosionNukeRendererEntry::ExplosionNukeRendererEntry(), TargetCamera::moveCamera(), and ParticleRendererMushroom::renderParticle().
| float getFastSin | ( | float | angle | ) |
Definition at line 40 of file DefinesMath.cpp.
Referenced by MissileMesh::draw(), TargetRendererImpl::drawShield(), ParticleEmitter::emitDebris(), ParticleEmitter::emitExplosionRing(), ExplosionNukeRendererEntry::ExplosionNukeRendererEntry(), TargetCamera::moveCamera(), and ParticleRendererMushroom::renderParticle().
bool calculatedFast = false [static] |
Definition at line 27 of file DefinesMath.cpp.
Referenced by calculateFast(), getFastCos(), and getFastSin().
float fastCos[628] [static] |
float fastSin[628] [static] |
1.5.3