diff options
author | Andrei Karas <akaras@inbox.ru> | 2012-08-24 22:48:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2012-08-24 22:48:35 +0300 |
commit | b474de4a54c9b1d4d863971e40b807588d554436 (patch) | |
tree | 761e71f86ea232d1688ee2838bd2294c59dea947 /src/particleemitter.cpp | |
parent | a316d537dce50f4b4e1e10f5c26a7851baddbd8b (diff) | |
download | manaverse-b474de4a54c9b1d4d863971e40b807588d554436.tar.gz manaverse-b474de4a54c9b1d4d863971e40b807588d554436.tar.bz2 manaverse-b474de4a54c9b1d4d863971e40b807588d554436.tar.xz manaverse-b474de4a54c9b1d4d863971e40b807588d554436.zip |
replace defines to consts.
Diffstat (limited to 'src/particleemitter.cpp')
-rw-r--r-- | src/particleemitter.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/particleemitter.cpp b/src/particleemitter.cpp index 4a6e39e18..9b84a3392 100644 --- a/src/particleemitter.cpp +++ b/src/particleemitter.cpp @@ -35,8 +35,8 @@ #include "debug.h" -#define SIN45 0.707106781f -#define DEG_RAD_FACTOR 0.017453293f +static const float SIN45 = 0.707106781f; +static const float DEG_RAD_FACTOR = 0.017453293f; ParticleEmitter::ParticleEmitter(XmlNodePtr emitterNode, Particle *target, Map *map, int rotation, |