From b474de4a54c9b1d4d863971e40b807588d554436 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 24 Aug 2012 22:48:35 +0300 Subject: replace defines to consts. --- src/particleemitter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/particleemitter.cpp') 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, -- cgit v1.2.3-70-g09d2