diff options
author | David Walter Seikel | 2014-01-13 19:47:58 +1000 |
---|---|---|
committer | David Walter Seikel | 2014-01-13 19:47:58 +1000 |
commit | f9158592e1478b2013afc7041d9ed041cf2d2f4a (patch) | |
tree | b16e389d7988700e21b4c9741044cefa536dcbae /libraries/irrlicht-1.8/source/Irrlicht/CParticleRotationAffector.h | |
parent | Libraries readme updated with change markers and more of the Irrlicht changes. (diff) | |
download | SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.zip SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.gz SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.bz2 SledjHamr-f9158592e1478b2013afc7041d9ed041cf2d2f4a.tar.xz |
Update Irrlicht to 1.8.1. Include actual change markers this time. lol
Diffstat (limited to 'libraries/irrlicht-1.8/source/Irrlicht/CParticleRotationAffector.h')
-rw-r--r-- | libraries/irrlicht-1.8/source/Irrlicht/CParticleRotationAffector.h | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/CParticleRotationAffector.h b/libraries/irrlicht-1.8/source/Irrlicht/CParticleRotationAffector.h deleted file mode 100644 index d3c5c03..0000000 --- a/libraries/irrlicht-1.8/source/Irrlicht/CParticleRotationAffector.h +++ /dev/null | |||
@@ -1,56 +0,0 @@ | |||
1 | // Copyright (C) 2002-2012 Nikolaus Gebhardt | ||
2 | // This file is part of the "Irrlicht Engine". | ||
3 | // For conditions of distribution and use, see copyright notice in irrlicht.h | ||
4 | |||
5 | #ifndef __C_PARTICLE_ROTATION_AFFECTOR_H_INCLUDED__ | ||
6 | #define __C_PARTICLE_ROTATION_AFFECTOR_H_INCLUDED__ | ||
7 | |||
8 | #include "IParticleRotationAffector.h" | ||
9 | |||
10 | namespace irr | ||
11 | { | ||
12 | namespace scene | ||
13 | { | ||
14 | |||
15 | //! Particle Affector for rotating particles about a point | ||
16 | class CParticleRotationAffector : public IParticleRotationAffector | ||
17 | { | ||
18 | public: | ||
19 | |||
20 | CParticleRotationAffector( const core::vector3df& speed = core::vector3df(5.0f, 5.0f, 5.0f), | ||
21 | const core::vector3df& point = core::vector3df() ); | ||
22 | |||
23 | //! Affects a particle. | ||
24 | virtual void affect(u32 now, SParticle* particlearray, u32 count); | ||
25 | |||
26 | //! Set the point that particles will attract to | ||
27 | virtual void setPivotPoint( const core::vector3df& point ) { PivotPoint = point; } | ||
28 | |||
29 | //! Set the speed in degrees per second | ||
30 | virtual void setSpeed( const core::vector3df& speed ) { Speed = speed; } | ||
31 | |||
32 | //! Get the point that particles are attracted to | ||
33 | virtual const core::vector3df& getPivotPoint() const { return PivotPoint; } | ||
34 | |||
35 | //! Get the speed in degrees per second | ||
36 | virtual const core::vector3df& getSpeed() const { return Speed; } | ||
37 | |||
38 | //! Writes attributes of the object. | ||
39 | virtual void serializeAttributes(io::IAttributes* out, io::SAttributeReadWriteOptions* options) const; | ||
40 | |||
41 | //! Reads attributes of the object. | ||
42 | virtual void deserializeAttributes(io::IAttributes* in, io::SAttributeReadWriteOptions* options); | ||
43 | |||
44 | private: | ||
45 | |||
46 | core::vector3df PivotPoint; | ||
47 | core::vector3df Speed; | ||
48 | u32 LastTime; | ||
49 | }; | ||
50 | |||
51 | } // end namespace scene | ||
52 | } // end namespace irr | ||
53 | |||
54 | |||
55 | #endif // __C_PARTICLE_ROTATION_AFFECTOR_H_INCLUDED__ | ||
56 | |||