more rework

This commit is contained in:
Henrique Santiago
2011-12-27 00:18:15 -02:00
parent 5830a3dc3e
commit df0f2febe6
15 changed files with 70 additions and 53 deletions

View File

@@ -25,6 +25,8 @@
#include "util/types.h"
#define DEG_TO_RAD (acos(-1)/180.0)
namespace Fw
{
static const double pi = 3.14159265;

View File

@@ -24,8 +24,6 @@
#include "particleaffector.h"
#include <framework/core/clock.h>
#define DEG_TO_RAD (acos(-1)/180.0)
ParticleAffector::ParticleAffector()
{
m_active = false;

View File

@@ -27,8 +27,6 @@
#include <framework/graphics/texturemanager.h>
#include <framework/util/tools.h>
#define DEG_TO_RAD (acos(-1)/180.0)
ParticleEmitter::ParticleEmitter(const ParticleSystemPtr& parent)
{
m_parent = parent;