]> git.lizzy.rs Git - irrlicht.git/blob - include/SParticle.h
Add some missing constants to the GL binding
[irrlicht.git] / include / SParticle.h
1 // Copyright (C) 2002-2012 Nikolaus Gebhardt\r
2 // This file is part of the "Irrlicht Engine".\r
3 // For conditions of distribution and use, see copyright notice in irrlicht.h\r
4 \r
5 #ifndef __S_PARTICLE_H_INCLUDED__\r
6 #define __S_PARTICLE_H_INCLUDED__\r
7 \r
8 #include "vector3d.h"\r
9 #include "dimension2d.h"\r
10 #include "SColor.h"\r
11 \r
12 namespace irr\r
13 {\r
14 namespace scene\r
15 {\r
16         //! Struct for holding particle data\r
17         struct SParticle\r
18         {\r
19                 //! Position of the particle\r
20                 core::vector3df pos;\r
21 \r
22                 //! Direction and speed of the particle\r
23                 core::vector3df vector;\r
24 \r
25                 //! Start life time of the particle\r
26                 u32 startTime;\r
27 \r
28                 //! End life time of the particle\r
29                 u32 endTime;\r
30 \r
31                 //! Current color of the particle\r
32                 video::SColor color;\r
33 \r
34                 //! Original color of the particle.\r
35                 /** That's the color of the particle it had when it was emitted. */\r
36                 video::SColor startColor;\r
37 \r
38                 //! Original direction and speed of the particle.\r
39                 /** The direction and speed the particle had when it was emitted. */\r
40                 core::vector3df startVector;\r
41 \r
42                 //! Scale of the particle.\r
43                 /** The current scale of the particle. */\r
44                 core::dimension2df size;\r
45 \r
46                 //! Original scale of the particle.\r
47                 /** The scale of the particle when it was emitted. */\r
48                 core::dimension2df startSize;\r
49         };\r
50 \r
51 \r
52 } // end namespace scene\r
53 } // end namespace irr\r
54 \r
55 #endif\r
56 \r