00001 // Copyright (C) 2002-2012 Nikolaus Gebhardt 00002 // This file is part of the "Irrlicht Engine". 00003 // For conditions of distribution and use, see copyright notice in irrlicht.h 00004 00005 #ifndef __S_PARTICLE_H_INCLUDED__ 00006 #define __S_PARTICLE_H_INCLUDED__ 00007 00008 #include "vector3d.h" 00009 #include "dimension2d.h" 00010 #include "SColor.h" 00011 00012 namespace irr 00013 { 00014 namespace scene 00015 { 00017 struct SParticle 00018 { 00020 core::vector3df pos; 00021 00023 core::vector3df vector; 00024 00026 u32 startTime; 00027 00029 u32 endTime; 00030 00032 video::SColor color; 00033 00035 00036 video::SColor startColor; 00037 00039 00040 core::vector3df startVector; 00041 00043 00044 core::dimension2df size; 00045 00047 00048 core::dimension2df startSize; 00049 }; 00050 00051 00052 } // end namespace scene 00053 } // end namespace irr 00054 00055 #endif 00056