00001 /* 00002 * Physics static object 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_PHYSICS_STATICOBJECT_H__ 00009 #define __SP_PHYSICS_STATICOBJECT_H__ 00010 00011 00012 #include "Base/spStandard.hpp" 00013 00014 #ifdef SP_COMPILE_WITH_PHYSICS 00015 00016 00017 #include "SceneGraph/spSceneMesh.hpp" 00018 #include "Framework/Physics/spPhysicsBaseObject.hpp" 00019 00020 00021 namespace sp 00022 { 00023 namespace physics 00024 { 00025 00026 00027 class SP_EXPORT StaticPhysicsObject : virtual public PhysicsBaseObject 00028 { 00029 00030 public: 00031 00032 virtual ~StaticPhysicsObject() 00033 { 00034 } 00035 00036 protected: 00037 00038 StaticPhysicsObject(scene::Mesh* Mesh) : 00039 //PhysicsBaseObject ( ), 00040 Mesh_ (Mesh ) 00041 { 00042 } 00043 00044 /* Members */ 00045 00046 scene::Mesh* Mesh_; 00047 00048 }; 00049 00050 00051 } // /namespace physics 00052 00053 } // /namespace sp 00054 00055 00056 #endif 00057 00058 #endif 00059 00060 00061 00062 // ================================================================================