00001 /* 00002 * Mesh animation header 00003 * 00004 * This file is part of the "SoftPixel Engine" (Copyright (c) 2008 by Lukas Hermanns) 00005 * See "SoftPixelEngine.hpp" for license information. 00006 */ 00007 00008 #ifndef __SP_MESH_ANIMATION_H__ 00009 #define __SP_MESH_ANIMATION_H__ 00010 00011 00012 #include "Base/spStandard.hpp" 00013 #include "SceneGraph/spSceneMesh.hpp" 00014 #include "SceneGraph/Animation/spAnimation.hpp" 00015 00016 00017 namespace sp 00018 { 00019 namespace scene 00020 { 00021 00022 00024 class SP_EXPORT MeshAnimation : public Animation 00025 { 00026 00027 public: 00028 00029 virtual ~MeshAnimation(); 00030 00031 protected: 00032 00033 MeshAnimation(const EAnimationTypes Type); 00034 00035 /* === Functions === */ 00036 00038 virtual bool checkFrustumCulling(scene::Mesh* Object) const; 00039 00040 }; 00041 00042 00043 } // /namespace scene 00044 00045 } // /namespace sp 00046 00047 00048 #endif 00049 00050 00051 00052 // ================================================================================