From 856c345feca062fdfc0b177e0de25489fb1b0c06 Mon Sep 17 00:00:00 2001 From: "chirs241097@gmail.com" Date: Sat, 15 Mar 2014 02:29:19 +0000 Subject: Extend hge with a 3D Rotation method, it's not tested yet. Fix probable compile errors due to includes. --- hgehelp/hgeparticle.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'hgehelp/hgeparticle.cpp') diff --git a/hgehelp/hgeparticle.cpp b/hgehelp/hgeparticle.cpp index d6051c1..d0d054d 100644 --- a/hgehelp/hgeparticle.cpp +++ b/hgehelp/hgeparticle.cpp @@ -11,7 +11,7 @@ */ -#include "../../include/hgeparticle.h" +#include "hgeparticle.h" HGE *hgeParticleSystem::hge=0; @@ -242,7 +242,7 @@ void hgeParticleSystem::MoveTo(float x, float y, bool bMoveParticles) { int i; float dx,dy; - + if(bMoveParticles) { dx=x-vecLocation.x; @@ -284,7 +284,7 @@ void hgeParticleSystem::Fire() void hgeParticleSystem::Stop(bool bKillParticles) { fAge=-2.0f; - if(bKillParticles) + if(bKillParticles) { nParticlesAlive=0; rectBoundingBox.Clear(); -- cgit v1.2.3