aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/others/irrlicht-1.8.1/include/SParticle.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2016-03-28 22:28:34 +1000
committerDavid Walter Seikel2016-03-28 22:28:34 +1000
commit7028cbe09c688437910a25623098762bf0fa592d (patch)
tree10b5af58277d9880380c2251f109325542c4e6eb /src/others/irrlicht-1.8.1/include/SParticle.h
parentMove lemon to the src/others directory. (diff)
downloadSledjHamr-7028cbe09c688437910a25623098762bf0fa592d.zip
SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.gz
SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.bz2
SledjHamr-7028cbe09c688437910a25623098762bf0fa592d.tar.xz
Move Irrlicht to src/others.
Diffstat (limited to 'src/others/irrlicht-1.8.1/include/SParticle.h')
-rw-r--r--src/others/irrlicht-1.8.1/include/SParticle.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/src/others/irrlicht-1.8.1/include/SParticle.h b/src/others/irrlicht-1.8.1/include/SParticle.h
new file mode 100644
index 0000000..d1507a1
--- /dev/null
+++ b/src/others/irrlicht-1.8.1/include/SParticle.h
@@ -0,0 +1,56 @@
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 __S_PARTICLE_H_INCLUDED__
6#define __S_PARTICLE_H_INCLUDED__
7
8#include "vector3d.h"
9#include "dimension2d.h"
10#include "SColor.h"
11
12namespace irr
13{
14namespace scene
15{
16 //! Struct for holding particle data
17 struct SParticle
18 {
19 //! Position of the particle
20 core::vector3df pos;
21
22 //! Direction and speed of the particle
23 core::vector3df vector;
24
25 //! Start life time of the particle
26 u32 startTime;
27
28 //! End life time of the particle
29 u32 endTime;
30
31 //! Current color of the particle
32 video::SColor color;
33
34 //! Original color of the particle.
35 /** That's the color of the particle it had when it was emitted. */
36 video::SColor startColor;
37
38 //! Original direction and speed of the particle.
39 /** The direction and speed the particle had when it was emitted. */
40 core::vector3df startVector;
41
42 //! Scale of the particle.
43 /** The current scale of the particle. */
44 core::dimension2df size;
45
46 //! Original scale of the particle.
47 /** The scale of the particle when it was emitted. */
48 core::dimension2df startSize;
49 };
50
51
52} // end namespace scene
53} // end namespace irr
54
55#endif
56