diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/irrlicht-1.8/include/IParticleCylinderEmitter.h | 118 |
1 files changed, 59 insertions, 59 deletions
diff --git a/libraries/irrlicht-1.8/include/IParticleCylinderEmitter.h b/libraries/irrlicht-1.8/include/IParticleCylinderEmitter.h index dac5ebe..cd063b8 100644 --- a/libraries/irrlicht-1.8/include/IParticleCylinderEmitter.h +++ b/libraries/irrlicht-1.8/include/IParticleCylinderEmitter.h | |||
@@ -1,59 +1,59 @@ | |||
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_CYLINDER_EMITTER_H_INCLUDED__ | 5 | #ifndef __I_PARTICLE_CYLINDER_EMITTER_H_INCLUDED__ |
6 | #define __I_PARTICLE_CYLINDER_EMITTER_H_INCLUDED__ | 6 | #define __I_PARTICLE_CYLINDER_EMITTER_H_INCLUDED__ |
7 | 7 | ||
8 | #include "IParticleEmitter.h" | 8 | #include "IParticleEmitter.h" |
9 | 9 | ||
10 | namespace irr | 10 | namespace irr |
11 | { | 11 | { |
12 | namespace scene | 12 | namespace scene |
13 | { | 13 | { |
14 | 14 | ||
15 | //! A particle emitter which emits from a cylindrically shaped space. | 15 | //! A particle emitter which emits from a cylindrically shaped space. |
16 | class IParticleCylinderEmitter : public IParticleEmitter | 16 | class IParticleCylinderEmitter : public IParticleEmitter |
17 | { | 17 | { |
18 | public: | 18 | public: |
19 | 19 | ||
20 | //! Set the center of the radius for the cylinder, at one end of the cylinder | 20 | //! Set the center of the radius for the cylinder, at one end of the cylinder |
21 | virtual void setCenter( const core::vector3df& center ) = 0; | 21 | virtual void setCenter( const core::vector3df& center ) = 0; |
22 | 22 | ||
23 | //! Set the normal of the cylinder | 23 | //! Set the normal of the cylinder |
24 | virtual void setNormal( const core::vector3df& normal ) = 0; | 24 | virtual void setNormal( const core::vector3df& normal ) = 0; |
25 | 25 | ||
26 | //! Set the radius of the cylinder | 26 | //! Set the radius of the cylinder |
27 | virtual void setRadius( f32 radius ) = 0; | 27 | virtual void setRadius( f32 radius ) = 0; |
28 | 28 | ||
29 | //! Set the length of the cylinder | 29 | //! Set the length of the cylinder |
30 | virtual void setLength( f32 length ) = 0; | 30 | virtual void setLength( f32 length ) = 0; |
31 | 31 | ||
32 | //! Set whether or not to draw points inside the cylinder | 32 | //! Set whether or not to draw points inside the cylinder |
33 | virtual void setOutlineOnly( bool outlineOnly = true ) = 0; | 33 | virtual void setOutlineOnly( bool outlineOnly = true ) = 0; |
34 | 34 | ||
35 | //! Get the center of the cylinder | 35 | //! Get the center of the cylinder |
36 | virtual const core::vector3df& getCenter() const = 0; | 36 | virtual const core::vector3df& getCenter() const = 0; |
37 | 37 | ||
38 | //! Get the normal of the cylinder | 38 | //! Get the normal of the cylinder |
39 | virtual const core::vector3df& getNormal() const = 0; | 39 | virtual const core::vector3df& getNormal() const = 0; |
40 | 40 | ||
41 | //! Get the radius of the cylinder | 41 | //! Get the radius of the cylinder |
42 | virtual f32 getRadius() const = 0; | 42 | virtual f32 getRadius() const = 0; |
43 | 43 | ||
44 | //! Get the center of the cylinder | 44 | //! Get the center of the cylinder |
45 | virtual f32 getLength() const = 0; | 45 | virtual f32 getLength() const = 0; |
46 | 46 | ||
47 | //! Get whether or not to draw points inside the cylinder | 47 | //! Get whether or not to draw points inside the cylinder |
48 | virtual bool getOutlineOnly() const = 0; | 48 | virtual bool getOutlineOnly() const = 0; |
49 | 49 | ||
50 | //! Get emitter type | 50 | //! Get emitter type |
51 | virtual E_PARTICLE_EMITTER_TYPE getType() const { return EPET_CYLINDER; } | 51 | virtual E_PARTICLE_EMITTER_TYPE getType() const { return EPET_CYLINDER; } |
52 | }; | 52 | }; |
53 | 53 | ||
54 | } // end namespace scene | 54 | } // end namespace scene |
55 | } // end namespace irr | 55 | } // end namespace irr |
56 | 56 | ||
57 | 57 | ||
58 | #endif | 58 | #endif |
59 | 59 | ||