aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8.1/include/SParticle.h
diff options
context:
space:
mode:
authorDavid Walter Seikel2014-01-13 19:47:58 +1000
committerDavid Walter Seikel2014-01-13 19:47:58 +1000
commitf9158592e1478b2013afc7041d9ed041cf2d2f4a (patch)
treeb16e389d7988700e21b4c9741044cefa536dcbae /libraries/irrlicht-1.8.1/include/SParticle.h
parentLibraries readme updated with change markers and more of the Irrlicht changes. (diff)
downloadSledjHamr-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.1/include/SParticle.h')
-rw-r--r--libraries/irrlicht-1.8.1/include/SParticle.h56
1 files changed, 56 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8.1/include/SParticle.h b/libraries/irrlicht-1.8.1/include/SParticle.h
new file mode 100644
index 0000000..d1507a1
--- /dev/null
+++ b/libraries/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