aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/include/IParticleGravityAffector.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 18:54:10 +1000
committerDavid Walter Seikel2013-01-13 18:54:10 +1000
commit959831f4ef5a3e797f576c3de08cd65032c997ad (patch)
treee7351908be5995f0b325b2ebeaa02d5a34b82583 /libraries/irrlicht-1.8/include/IParticleGravityAffector.h
parentAdd info about changes to Irrlicht. (diff)
downloadSledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.zip
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.gz
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.bz2
SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.xz
Remove damned ancient DOS line endings from Irrlicht. Hopefully I did not go overboard.
Diffstat (limited to 'libraries/irrlicht-1.8/include/IParticleGravityAffector.h')
-rw-r--r--libraries/irrlicht-1.8/include/IParticleGravityAffector.h84
1 files changed, 42 insertions, 42 deletions
diff --git a/libraries/irrlicht-1.8/include/IParticleGravityAffector.h b/libraries/irrlicht-1.8/include/IParticleGravityAffector.h
index 4113888..f0e4f8e 100644
--- a/libraries/irrlicht-1.8/include/IParticleGravityAffector.h
+++ b/libraries/irrlicht-1.8/include/IParticleGravityAffector.h
@@ -1,42 +1,42 @@
1// Copyright (C) 2002-2012 Nikolaus Gebhardt 1// Copyright (C) 2002-2012 Nikolaus Gebhardt
2// This file is part of the "Irrlicht Engine". 2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in irrlicht.h 3// For conditions of distribution and use, see copyright notice in irrlicht.h
4 4
5#ifndef __I_PARTICLE_GRAVITY_AFFECTOR_H_INCLUDED__ 5#ifndef __I_PARTICLE_GRAVITY_AFFECTOR_H_INCLUDED__
6#define __I_PARTICLE_GRAVITY_AFFECTOR_H_INCLUDED__ 6#define __I_PARTICLE_GRAVITY_AFFECTOR_H_INCLUDED__
7 7
8#include "IParticleAffector.h" 8#include "IParticleAffector.h"
9 9
10namespace irr 10namespace irr
11{ 11{
12namespace scene 12namespace scene
13{ 13{
14 14
15//! A particle affector which applies gravity to particles. 15//! A particle affector which applies gravity to particles.
16class IParticleGravityAffector : public IParticleAffector 16class IParticleGravityAffector : public IParticleAffector
17{ 17{
18public: 18public:
19 19
20 //! Set the time in milliseconds when the gravity force is totally lost 20 //! Set the time in milliseconds when the gravity force is totally lost
21 /** At that point the particle does not move any more. */ 21 /** At that point the particle does not move any more. */
22 virtual void setTimeForceLost( f32 timeForceLost ) = 0; 22 virtual void setTimeForceLost( f32 timeForceLost ) = 0;
23 23
24 //! Set the direction and force of gravity in all 3 dimensions. 24 //! Set the direction and force of gravity in all 3 dimensions.
25 virtual void setGravity( const core::vector3df& gravity ) = 0; 25 virtual void setGravity( const core::vector3df& gravity ) = 0;
26 26
27 //! Get the time in milliseconds when the gravity force is totally lost 27 //! Get the time in milliseconds when the gravity force is totally lost
28 virtual f32 getTimeForceLost() const = 0; 28 virtual f32 getTimeForceLost() const = 0;
29 29
30 //! Get the direction and force of gravity. 30 //! Get the direction and force of gravity.
31 virtual const core::vector3df& getGravity() const = 0; 31 virtual const core::vector3df& getGravity() const = 0;
32 32
33 //! Get emitter type 33 //! Get emitter type
34 virtual E_PARTICLE_AFFECTOR_TYPE getType() const { return EPAT_GRAVITY; } 34 virtual E_PARTICLE_AFFECTOR_TYPE getType() const { return EPAT_GRAVITY; }
35}; 35};
36 36
37} // end namespace scene 37} // end namespace scene
38} // end namespace irr 38} // end namespace irr
39 39
40 40
41#endif // __I_PARTICLE_GRAVITY_AFFECTOR_H_INCLUDED__ 41#endif // __I_PARTICLE_GRAVITY_AFFECTOR_H_INCLUDED__
42 42