00001 /* -*- C++ -*- */ 00002 00003 /* COPYRIGHT 00004 * 00005 * This file is part of the Visual Effects Engine - VEE 00006 * 00007 * Read the "VEE-LICENSE" file for the license. 00008 * 00009 * Authors & Copyright: 00010 * 00011 * Tommi Ilmonen, Tuukka Heikura, Marko Myllymaa and 00012 * Janne Kontkanen 2001-2004 00013 * 00014 * Additional copyrights: Tekes 2003-2004 00015 * 00016 * firstname.lastname@hut.fi 00017 * 00018 */ 00019 00020 00021 #ifndef VEE_POLYGON_CLOUDS_H 00022 #define VEE_POLYGON_CLOUDS_H 00023 00024 #include <vee_color_table.h> 00025 #include <vee_vortex_effect.h> 00026 #include <vee_random.h> 00027 00028 class VEE_PolygonClouds : public VEE_VortexEffect 00029 { 00030 public: 00031 VEE_PolygonClouds(const VEE_Vector3 &location, 00032 const VEE_Vector3 & velocity, 00033 float size, 00034 float age, 00035 float cloudInterval, 00036 float magnitude); 00037 00038 virtual ~VEE_PolygonClouds(); 00039 00040 virtual void update(float dt); 00041 00042 protected: 00043 00044 virtual void emitCloud(); 00045 00046 VEE_RgbaTable m_colorTable; 00047 00048 double m_cloudInterval; 00049 double m_sinceLastCloud; 00050 }; 00051 00052 #endif