00001 /* 00002 * Newton 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_NEWTON_STATICOBJECT_H__ 00009 #define __SP_PHYSICS_NEWTON_STATICOBJECT_H__ 00010 00011 00012 #include "Base/spStandard.hpp" 00013 00014 #ifdef SP_COMPILE_WITH_NEWTON 00015 00016 00017 #include "Framework/Physics/spPhysicsStaticObject.hpp" 00018 #include "Framework/Physics/Newton/spNewtonBaseObject.hpp" 00019 00020 00021 namespace sp 00022 { 00023 namespace physics 00024 { 00025 00026 00027 class SP_EXPORT NewtonStaticObject : public StaticPhysicsObject, public NewtonBaseObject 00028 { 00029 00030 public: 00031 00032 NewtonStaticObject(scene::Mesh* Mesh); 00033 virtual ~NewtonStaticObject(); 00034 00035 protected: 00036 00037 /* Functions */ 00038 00039 void createMesh(); 00040 00041 }; 00042 00043 00044 } // /namespace physics 00045 00046 } // /namespace sp 00047 00048 00049 #endif 00050 00051 #endif 00052 00053 00054 00055 // ================================================================================