diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/irrlicht-1.8/include/SParticle.h | 112 |
1 files changed, 56 insertions, 56 deletions
diff --git a/libraries/irrlicht-1.8/include/SParticle.h b/libraries/irrlicht-1.8/include/SParticle.h index d1507a1..c69c483 100644 --- a/libraries/irrlicht-1.8/include/SParticle.h +++ b/libraries/irrlicht-1.8/include/SParticle.h | |||
@@ -1,56 +1,56 @@ | |||
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 __S_PARTICLE_H_INCLUDED__ | 5 | #ifndef __S_PARTICLE_H_INCLUDED__ |
6 | #define __S_PARTICLE_H_INCLUDED__ | 6 | #define __S_PARTICLE_H_INCLUDED__ |
7 | 7 | ||
8 | #include "vector3d.h" | 8 | #include "vector3d.h" |
9 | #include "dimension2d.h" | 9 | #include "dimension2d.h" |
10 | #include "SColor.h" | 10 | #include "SColor.h" |
11 | 11 | ||
12 | namespace irr | 12 | namespace irr |
13 | { | 13 | { |
14 | namespace scene | 14 | namespace scene |
15 | { | 15 | { |
16 | //! Struct for holding particle data | 16 | //! Struct for holding particle data |
17 | struct SParticle | 17 | struct SParticle |
18 | { | 18 | { |
19 | //! Position of the particle | 19 | //! Position of the particle |
20 | core::vector3df pos; | 20 | core::vector3df pos; |
21 | 21 | ||
22 | //! Direction and speed of the particle | 22 | //! Direction and speed of the particle |
23 | core::vector3df vector; | 23 | core::vector3df vector; |
24 | 24 | ||
25 | //! Start life time of the particle | 25 | //! Start life time of the particle |
26 | u32 startTime; | 26 | u32 startTime; |
27 | 27 | ||
28 | //! End life time of the particle | 28 | //! End life time of the particle |
29 | u32 endTime; | 29 | u32 endTime; |
30 | 30 | ||
31 | //! Current color of the particle | 31 | //! Current color of the particle |
32 | video::SColor color; | 32 | video::SColor color; |
33 | 33 | ||
34 | //! Original color of the particle. | 34 | //! Original color of the particle. |
35 | /** That's the color of the particle it had when it was emitted. */ | 35 | /** That's the color of the particle it had when it was emitted. */ |
36 | video::SColor startColor; | 36 | video::SColor startColor; |
37 | 37 | ||
38 | //! Original direction and speed of the particle. | 38 | //! Original direction and speed of the particle. |
39 | /** The direction and speed the particle had when it was emitted. */ | 39 | /** The direction and speed the particle had when it was emitted. */ |
40 | core::vector3df startVector; | 40 | core::vector3df startVector; |
41 | 41 | ||
42 | //! Scale of the particle. | 42 | //! Scale of the particle. |
43 | /** The current scale of the particle. */ | 43 | /** The current scale of the particle. */ |
44 | core::dimension2df size; | 44 | core::dimension2df size; |
45 | 45 | ||
46 | //! Original scale of the particle. | 46 | //! Original scale of the particle. |
47 | /** The scale of the particle when it was emitted. */ | 47 | /** The scale of the particle when it was emitted. */ |
48 | core::dimension2df startSize; | 48 | core::dimension2df startSize; |
49 | }; | 49 | }; |
50 | 50 | ||
51 | 51 | ||
52 | } // end namespace scene | 52 | } // end namespace scene |
53 | } // end namespace irr | 53 | } // end namespace irr |
54 | 54 | ||
55 | #endif | 55 | #endif |
56 | 56 | ||