Changeset 1923
- Timestamp:
- Oct 14, 2008, 10:07:50 PM (16 years ago)
- Location:
- code/branches/physics/src/ogreode
- Files:
-
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/ogreode/OgreOdeBody.cpp
r1922 r1923 1 2 1 #include "OgreOdePrecompiledHeaders.h" 2 #include "OgreOdeBody.h" 3 4 #include <OgreStringConverter.h> 5 #include <OgreSceneManager.h> 3 6 4 7 #include "OgreOdeWorld.h" 5 #include "OgreOdeBody.h"6 8 #include "OgreOdeMass.h" 7 9 #include "OgreOdeDebugObject.h" -
code/branches/physics/src/ogreode/OgreOdeBody.h
r1922 r1923 3 3 4 4 #include "OgreOdePreReqs.h" 5 #include <OgreUserDefinedObject.h> 6 #include <OgreMovableObject.h> 7 #include <OgreAxisAlignedBox.h> 8 #include <OgreSceneQuery.h> 9 #include <OgreSceneNode.h> 5 10 6 11 namespace OgreOde -
code/branches/physics/src/ogreode/OgreOdeCollision.cpp
r1922 r1923 1 2 1 #include "OgreOdePrecompiledHeaders.h" 3 4 2 #include "OgreOdeCollision.h" 3 5 4 #include "OgreOdeSpace.h" 6 5 #include "OgreOdeGeometry.h" -
code/branches/physics/src/ogreode/OgreOdeCollision.h
r1919 r1923 3 3 4 4 #include "OgreOdePreReqs.h" 5 #include <OgreVector3.h> 5 6 6 7 namespace OgreOde -
code/branches/physics/src/ogreode/OgreOdeDebugContact.cpp
r1922 r1923 9 9 10 10 #include "OgreOdePrecompiledHeaders.h" 11 12 #include "Ogre.h"13 #include "OgreFontManager.h"14 15 11 #include "OgreOdeDebugContact.h" 12 13 #include <OgreFontManager.h> 14 #include <OgreEntity.h> 15 #include <OgreSceneNode.h> 16 #include <OgreMaterialManager.h> 17 #include <OgreCamera.h> 18 #include <OgreRoot.h> 19 16 20 #include "OgreOdeCollision.h" 17 #include "OgreOdeGeometry.h"18 #include "OgreOdeBody.h"19 21 #include "OgreOdeWorld.h" 20 22 -
code/branches/physics/src/ogreode/OgreOdeDebugContact.h
r1922 r1923 12 12 13 13 #include "OgreOdePreReqs.h" 14 15 #include <OgreMovableObject.h> 16 #include <OgreRenderable.h> 17 #include <OgreAxisAlignedBox.h> 14 18 #include "OgreOdeDebugObject.h" 15 19 -
code/branches/physics/src/ogreode/OgreOdeDebugObject.cpp
r1922 r1923 1 2 1 #include "OgreOdePrecompiledHeaders.h" 3 4 2 #include "OgreOdeDebugObject.h" 3 4 #include <OgreMaterialManager.h> 5 #include <OgreTechnique.h> 6 #include <OgreCamera.h> 7 #include <OgreHardwareBufferManager.h> 5 8 6 9 using namespace OgreOde; -
code/branches/physics/src/ogreode/OgreOdeDebugObject.h
r1919 r1923 3 3 4 4 #include "OgreOdePreReqs.h" 5 6 #include <OgreSimpleRenderable.h> 5 7 6 8 namespace OgreOde -
code/branches/physics/src/ogreode/OgreOdeEigenSolver.cpp
r1919 r1923 1 2 1 #include "OgreOdePrecompiledHeaders.h" 3 4 2 #include "OgreOdeEigenSolver.h" 5 3 -
code/branches/physics/src/ogreode/OgreOdeEigenSolver.h
r1919 r1923 3 3 4 4 #include "OgreOdePreReqs.h" 5 6 #include <OgreMatrix3.h> 5 7 6 8 namespace OgreOde -
code/branches/physics/src/ogreode/OgreOdeEntityInformer.cpp
r1922 r1923 1 1 #include "OgreOdePrecompiledHeaders.h" 2 3 2 #include "OgreOdeEntityInformer.h" 4 #include "OgreOdeMaintainedList.h" 3 4 #include <OgreEntity.h> 5 #include <OgreSubEntity.h> 6 #include <OgreSceneNode.h> 7 #include <OgreSubMesh.h> 8 #include <OgreLogManager.h> 9 #include <OgreSkeletonInstance.h> 10 #include <OgreBone.h> 11 5 12 #include "OgreOdeBody.h" 6 13 #include "OgreOdeGeometry.h" 7 14 #include "OgreOdeMass.h" 8 15 #include "OgreOdeEigenSolver.h" 9 10 16 #include "OgreOdeTriangleMeshDataManager.h" 11 12 using namespace OgreOde;13 using namespace Ogre;14 15 16 #include "OgreOdePrecompiledHeaders.h"17 18 #include "OgreOdeEntityInformer.h"19 #include "OgreOdeMaintainedList.h"20 #include "OgreOdeBody.h"21 #include "OgreOdeGeometry.h"22 #include "OgreOdeMass.h"23 #include "OgreOdeEigenSolver.h"24 17 25 18 using namespace OgreOde; -
code/branches/physics/src/ogreode/OgreOdeEntityInformer.h
r1922 r1923 3 3 4 4 #include "OgreOdePreReqs.h" 5 6 #include <OgreMesh.h> 5 7 #include "OgreOdeTriangleMeshData.h" 6 8 -
code/branches/physics/src/ogreode/OgreOdeFrameListener.h
r1919 r1923 8 8 #define _PHYSICSFRAMELISTENER_H_ 9 9 10 #include "OgreOdePreReqs.h" 11 #include <OgreSceneQuery.h> 12 #include <OgreFrameListener.h> 13 10 14 // Uncomment this if you're planning to use the Plane2D joint 11 15 // But you'll have to have modified ODE first! … … 15 19 A physical thing 16 20 */ 17 class PhysicalThing : public RaySceneQueryListener21 class PhysicalThing : public Ogre::RaySceneQueryListener 18 22 { 19 23 public: … … 23 27 24 28 // Just create geoms 25 void makePlane( Real a,Real b,Real c,Real d); // Plane26 void makeBox( Real x,Real y,Real z,Real lx,Real ly,Real lz); // Box27 void makeSphere( Real x,Real y,Real z,Real r); // Sphere29 void makePlane(Ogre::Real a, Ogre::Real b, Ogre::Real c, Ogre::Real d); // Plane 30 void makeBox(Ogre::Real x, Ogre::Real y, Ogre::Real z, Ogre::Real lx, Ogre::Real ly, Ogre::Real lz); // Box 31 void makeSphere(Ogre::Real x, Ogre::Real y, Ogre::Real z, Ogre::Real r); // Sphere 28 32 29 33 // Create bodies and geoms 30 void makePlane(dWorld *world, SceneNode *node);31 void makeBox(dWorld *world, SceneNode *node,Real mass = 1,Vector3 const &offs =Vector3(0,0,0));32 void makeSphere(dWorld *world, SceneNode *node,Real mass = 1);33 void makeTerrainTriMesh(dWorld *world, SceneManager *mgr,Real grid_size,Real grid_spacing);34 void makePlane(dWorld *world, Ogre::SceneNode *node); 35 void makeBox(dWorld *world, Ogre::SceneNode *node, Ogre::Real mass = 1, Ogre::Vector3 const &offs = Ogre::Vector3(0,0,0)); 36 void makeSphere(dWorld *world, Ogre::SceneNode *node, Ogre::Real mass = 1); 37 void makeTerrainTriMesh(dWorld *world, Ogre::SceneManager *mgr, Ogre::Real grid_size, Ogre::Real grid_spacing); 34 38 35 39 // Callback functions for the ray scene query functionality 36 virtual bool queryResult( SceneQuery::WorldFragment *fragment,Real distance);37 virtual bool queryResult( MovableObject *obj,Real distance);40 virtual bool queryResult(Ogre::SceneQuery::WorldFragment *fragment, Ogre::Real distance); 41 virtual bool queryResult(Ogre::MovableObject *obj, Ogre::Real distance); 38 42 39 43 // Update the position and orientation of the scene node we're controlling … … 41 45 42 46 // Utility functions to get at internal stuff 43 SceneNode *getNode(void);47 Ogre::SceneNode *getNode(void); 44 48 dBodyID getBodyID(void); 45 49 dSpaceID getSpaceID(void); … … 49 53 dBody *_body; 50 54 dSpace *_space; 51 SceneNode *_node;55 Ogre::SceneNode *_node; 52 56 53 std::list< Vector3> _frag;57 std::list<Ogre::Vector3> _frag; 54 58 55 59 dVector3 *_vertices; … … 60 64 A Frame listener that implements the physics 61 65 */ 62 class PhysicsFrameListener : public FrameListener66 class PhysicsFrameListener : public Ogre::FrameListener 63 67 { 64 68 protected: … … 76 80 77 81 // Adjustable variables 78 Real total_time,step_size;79 Real k_spring,k_damper,k_tyre,k_mu,k_erp,k_cfm;82 Ogre::Real total_time,step_size; 83 Ogre::Real k_spring,k_damper,k_tyre,k_mu,k_erp,k_cfm; 80 84 81 85 // Utility function to find the physical thing associated with an Ogre scene node 82 dBodyID getBodyID( SceneNode *node);86 dBodyID getBodyID(Ogre::SceneNode *node); 83 87 84 88 public: … … 88 92 89 93 // Tell us when every frame's about to be started 90 bool frameStarted(const FrameEvent& evt);94 bool frameStarted(const Ogre::FrameEvent& evt); 91 95 void pause(bool p = true); 92 96 … … 98 102 // Create things manually, no physical bodies 99 103 // so they won't move, but things will collide with them 100 PhysicalThing *createPlane( Real a,Real b,Real c,Real d);101 PhysicalThing *createBox( Real x,Real y,Real z,Real lx,Real ly,Real lz);102 PhysicalThing *createSphere( Real x,Real y,Real z,Real r);104 PhysicalThing *createPlane(Ogre::Real a,Ogre::Real b,Ogre::Real c,Ogre::Real d); 105 PhysicalThing *createBox(Ogre::Real x,Ogre::Real y,Ogre::Real z,Ogre::Real lx,Ogre::Real ly,Ogre::Real lz); 106 PhysicalThing *createSphere(Ogre::Real x,Ogre::Real y,Ogre::Real z,Ogre::Real r); 103 107 104 108 // Create objects based on Ogre nodes, these nodes will then … … 107 111 // Except for the plane, which can't actually be a physical body 108 112 // and the trimesh which we're not going to allow to be a physical body 109 PhysicalThing *createPlane( SceneNode *node);110 PhysicalThing *createBox( SceneNode *node,Real mass = 1,Vector3 const &offs =Vector3(0,0,0));111 PhysicalThing *createSphere( SceneNode *node,Real mass = 1);112 PhysicalThing *createTerrainTriMesh( SceneManager *mgr,Real grid_size,Real grid_spacing);113 PhysicalThing *createPlane(Ogre::SceneNode *node); 114 PhysicalThing *createBox(Ogre::SceneNode *node,Ogre::Real mass = 1,Ogre::Vector3 const &offs = Ogre::Vector3(0,0,0)); 115 PhysicalThing *createSphere(Ogre::SceneNode *node,Ogre::Real mass = 1); 116 PhysicalThing *createTerrainTriMesh(Ogre::SceneManager *mgr,Ogre::Real grid_size,Ogre::Real grid_spacing); 113 117 114 118 // Create and activate a new space inside the standard hash space … … 120 124 // The order of n1/n2 does matter; n1 is what you want attaching 121 125 // and n2 is what you want it attaching to 122 dJoint *createHinge2( SceneNode *n1,SceneNode *n2,const Vector3 &suspension = Vector3(0,1,0),const Vector3 &axle =Vector3(1,0,0));123 dJoint *createHinge( SceneNode *n1,SceneNode *n2,const Vector3 &axis =Vector3(1,0,0));124 dJoint *createSlider( SceneNode *n1,SceneNode *n2,const Vector3 &axis =Vector3(0,1,0));125 dJoint *createBall( SceneNode *n1,SceneNode *n2);126 dJoint *createHinge2(Ogre::SceneNode *n1,Ogre::SceneNode *n2,const Ogre::Vector3 &suspension = Ogre::Vector3(0,1,0),const Ogre::Vector3 &axle = Ogre::Vector3(1,0,0)); 127 dJoint *createHinge(Ogre::SceneNode *n1,Ogre::SceneNode *n2,const Ogre::Vector3 &axis = Ogre::Vector3(1,0,0)); 128 dJoint *createSlider(Ogre::SceneNode *n1,Ogre::SceneNode *n2,const Ogre::Vector3 &axis = Ogre::Vector3(0,1,0)); 129 dJoint *createBall(Ogre::SceneNode *n1,Ogre::SceneNode *n2); 126 130 #ifdef INCLUDE_PLANE2D_JOINT 127 dJoint *createPlane2D( SceneNode *n);131 dJoint *createPlane2D(Ogre::SceneNode *n); 128 132 #endif 129 133 130 134 // Apply forces to a body under our control 131 void addTorque( SceneNode *n,constVector3 &force);135 void addTorque(Ogre::SceneNode *n,const Ogre::Vector3 &force); 132 136 133 137 // Set the parameters used for the CFM/ERP joint parameters 134 void setSuspension( Real spring,Real damper);138 void setSuspension(Ogre::Real spring,Ogre::Real damper); 135 139 136 140 // Set the acceleration due to gravity 137 void setGravity( Real g);141 void setGravity(Ogre::Real g); 138 142 139 143 // Get our constants 140 Real getTyre(void){return k_tyre;};141 Real getMu(void){return k_mu;};142 Real getCFM(void){return k_cfm;};143 Real getERP(void){return k_erp;};144 Ogre::Real getTyre(void){return k_tyre;}; 145 Ogre::Real getMu(void){return k_mu;}; 146 Ogre::Real getCFM(void){return k_cfm;}; 147 Ogre::Real getERP(void){return k_erp;}; 144 148 145 149 // Static function for ODE to call when collisions (potentially) occur -
code/branches/physics/src/ogreode/OgreOdeGeometry.cpp
r1922 r1923 1 2 1 #include "OgreOdePrecompiledHeaders.h" 3 4 2 #include "OgreOdeGeometry.h" 3 4 #include <OgreSceneNode.h> 5 #include <OgreSceneManager.h> 6 #include <OgreStringConverter.h> 7 5 8 #include "OgreOdeWorld.h" 6 9 #include "OgreOdeSpace.h" -
code/branches/physics/src/ogreode/OgreOdeGeometry.h
r1922 r1923 3 3 4 4 #include "OgreOdePreReqs.h" 5 #include "OgreOdeMaintainedList.h" 6 5 6 #include <OgreUserDefinedObject.h> 7 #include <OgreMovableObject.h> 8 #include <OgreSceneQuery.h> 7 9 #include "OgreOdeTriangleMeshData.h" 8 10 -
code/branches/physics/src/ogreode/OgreOdeJoint.cpp
r1919 r1923 1 2 1 #include "OgreOdePrecompiledHeaders.h" 3 4 #include "OgreOdeGeometry.h" 2 #include "OgreOdeJoint.h" 3 5 4 #include "OgreOdeWorld.h" 6 5 #include "OgreOdeBody.h" 7 6 #include "OgreOdeGeometry.h" 8 #include "OgreOdeJoint.h"9 7 10 8 using namespace OgreOde; -
code/branches/physics/src/ogreode/OgreOdeJoint.h
r1919 r1923 3 3 4 4 #include "OgreOdePreReqs.h" 5 #include "OgreOdeMaintainedList.h"5 #include <OgreVector3.h> 6 6 7 7 namespace OgreOde -
code/branches/physics/src/ogreode/OgreOdeMass.cpp
r1919 r1923 1 #include "OgreOdePrecompiledHeaders.h" 2 #include "OgreOdeMass.h" 1 3 2 #include "OgreOdePrecompiledHeaders.h" 3 4 #include "OgreOdePreReqs.h" 5 #include "OgreOdeMass.h" 4 #include <OgreMatrix3.h> 5 #include <OgreVector3.h> 6 #include <OgreQuaternion.h> 6 7 7 8 using namespace OgreOde; -
code/branches/physics/src/ogreode/OgreOdePreReqs.h
r1919 r1923 2 2 #define _OGREODEPREREQS_H_ 3 3 4 #include "Ogre.h" 5 #include "OgreNoMemoryMacros.h" 4 // we have to include the entire ode.h because the config file can either be 5 // config.h or odeconfig.h and it takes these files to determine the version 6 // in the first place. 6 7 #include "ode/ode.h" 7 #include "OgreMemoryMacros.h"8 #include <OgrePrerequisites.h> 8 9 9 10 namespace OgreOde 11 { 12 #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32 13 # if defined( OGREODE_EXPORTS ) 14 # define _OgreOdeExport __declspec( dllexport ) 15 # else 16 # if defined( __MINGW32__ ) 17 # define _OgreOdeExport 18 # else 19 # define _OgreOdeExport __declspec(dllimport) 20 # endif 21 # endif 22 #elif defined ( OGRE_GCC_VISIBILITY ) 23 # define _OgreOdeExport __attribute__ ((visibility("default"))) 24 #else 25 # define _OgreOdeExport 26 #endif 10 #if OGRE_PLATFORM == OGRE_PLATFORM_WIN32 11 # if defined( OGREODE_EXPORTS ) 12 # define _OgreOdeExport __declspec( dllexport ) 13 # else 14 # if defined( __MINGW32__ ) 15 # define _OgreOdeExport 16 # else 17 # define _OgreOdeExport __declspec(dllimport) 18 # endif 19 # endif 20 #elif defined ( OGRE_GCC_VISIBILITY ) 21 # define _OgreOdeExport __attribute__ ((visibility("default"))) 22 #else 23 # define _OgreOdeExport 24 #endif 27 25 28 26 // determine ODE version. In 0.10 and following, ODE uses odeconfig.h in the headers and … … 36 34 37 35 36 namespace OgreOde 37 { 38 38 #if ODE_VERSION_MINOR < 10 39 39 # ifndef dTriIndex 40 40 # if dTRIMESH_16BIT_INDICES 41 41 # if dTRIMESH_GIMPACT 42 typedef uint32 dTriIndex; 42 43 typedef uint32 dTriIndex; 44 43 45 # else // dTRIMESH_GIMPACT 44 typedef uint16 dTriIndex; 46 47 typedef uint16 dTriIndex; 48 45 49 # endif // dTRIMESH_GIMPACT 46 50 # else // dTRIMESH_16BIT_INDICES 47 typedef int dTriIndex; 51 52 typedef int dTriIndex; 53 48 54 # endif // dTRIMESH_16BIT_INDICES 49 55 # endif -
code/branches/physics/src/ogreode/OgreOdePrecompiledHeaders.h
r1919 r1923 4 4 #ifdef _PRECOMP 5 5 6 // external headers 7 #include <ode/ode.h> 8 9 #include <OgreSceneNode.h> 10 #include <OgreEntity.h> 11 #include <OgreSceneNode.h> 12 #include <OgreRoot.h> 13 #include <OgreSceneManager.h> 14 #include <OgreEntity.h> 15 #include <OgreSceneManager.h> 16 #include <OgreSceneNode.h> 17 #include <OgreSceneManager.h> 18 #include <OgreSceneNode.h> 19 #include <OgreRoot.h> 20 #include <OgreSceneNode.h> 21 #include <OgreAxisAlignedBox.h> 22 #include <OgreCamera.h> 23 #include <OgreMovableObject.h> 24 #include <OgreSceneQuery.h> 25 #include <OgreStringConverter.h> 26 #include <OgreUserDefinedObject.h> 27 #include <OgreRenderable.h> 28 #include <OgreSimpleRenderable.h> 29 #include <OgreMesh.h> 30 #include <OgreFrameListener.h> 31 32 // our own headers 6 33 #include "OgreOdePreReqs.h" 7 #include "OgreOdeWorld.h" 34 8 35 #include "OgreOdeBody.h" 36 #include "OgreOdeCollision.h" 37 #include "OgreOdeDebugContact.h" 38 #include "OgreOdeDebugObject.h" 39 #include "OgreOdeEigenSolver.h" 40 #include "OgreOdeEntityInformer.h" 41 #include "OgreOdeGeometry.h" 42 #include "OgreOdeJoint.h" 43 #include "OgreOdeMaintainedList.h" 9 44 #include "OgreOdeMass.h" 10 #include "OgreOdeJoint.h"11 45 #include "OgreOdeSpace.h" 12 #include "OgreOdeGeometry.h"13 #include "OgreOdeCollision.h"14 46 #include "OgreOdeStepper.h" 15 16 #include "OgreOdeEntityInformer.h"17 18 19 #include "OgreOdeEigenSolver.h"20 47 #include "OgreOdeUtility.h" 21 22 #include "OgreOdeDebugObject.h"23 #include "OgreOdeDebugContact.h"24 25 48 #include "OgreOdeTriangleMeshData.h" 26 49 #include "OgreOdeTriangleMeshDataManager.h" 50 #include "OgreOdeUtility.h" 51 #include "OgreOdeWorld.h" 27 52 28 53 #endif //_PRECOMP -
code/branches/physics/src/ogreode/OgreOdeSpace.cpp
r1922 r1923 1 2 1 #include "OgreOdePrecompiledHeaders.h" 2 #include "OgreOdeSpace.h" 3 4 #include <OgreSceneManager.h> 3 5 4 6 #include "OgreOdeBody.h" 5 #include "OgreOdeSpace.h"6 7 #include "OgreOdeGeometry.h" 7 8 #include "OgreOdeWorld.h" 8 9 9 #include "OgreOdeCollision.h" 10 10 -
code/branches/physics/src/ogreode/OgreOdeSpace.h
r1919 r1923 3 3 4 4 #include "OgreOdePreReqs.h" 5 #include "OgreOdeMaintainedList.h"5 #include <OgreAxisAlignedBox.h> 6 6 7 7 namespace OgreOde -
code/branches/physics/src/ogreode/OgreOdeStepper.cpp
r1922 r1923 1 2 1 #include "OgreOdePrecompiledHeaders.h" 2 #include "OgreOdeStepper.h" 3 4 #include <OgreRoot.h> 3 5 4 6 #include "OgreOdeGeometry.h" 5 7 #include "OgreOdeBody.h" 6 #include "OgreOdeWorld.h"7 8 #include "OgreOdeSpace.h" 8 #include "OgreOdeStepper.h"9 9 10 10 using namespace OgreOde; -
code/branches/physics/src/ogreode/OgreOdeStepper.h
r1919 r1923 3 3 4 4 #include "OgreOdePreReqs.h" 5 6 #include <OgreFrameListener.h> 7 #include "OgreOdeWorld.h" 5 8 6 9 namespace OgreOde -
code/branches/physics/src/ogreode/OgreOdeTriangleMeshData.cpp
r1919 r1923 1 2 1 #include "OgreOdePrecompiledHeaders.h" 3 4 #include "OgreOdeGeometry.h"5 #include "OgreOdeWorld.h"6 #include "OgreOdeSpace.h"7 #include "OgreOdeBody.h"8 #include "OgreOdeCollision.h"9 #include "OgreOdeDebugObject.h"10 #include "OgreOdeDebugContact.h"11 12 2 #include "OgreOdeTriangleMeshData.h" 13 3 -
code/branches/physics/src/ogreode/OgreOdeTriangleMeshData.h
r1919 r1923 2 2 #define __OgreOdeTriangleMeshData_H__ 3 3 4 #include <Ogre.h>4 #include "OgreOdePreReqs.h" 5 5 6 #include "OgreOdePreReqs.h" 7 #include "OgreOdeMaintainedList.h" 8 9 using namespace std; 6 #include <OgreSharedPtr.h> 7 #include <OgreVector3.h> 10 8 11 9 namespace OgreOde -
code/branches/physics/src/ogreode/OgreOdeTriangleMeshDataManager.cpp
r1919 r1923 1 1 #include "OgreOdePrecompiledHeaders.h" 2 #include "OgreOdeTriangleMeshDataManager.h" 2 3 3 #include "OgreOdeTriangleMeshData Manager.h"4 #include "OgreOdeTriangleMeshData.h" 4 5 5 6 using namespace Ogre; -
code/branches/physics/src/ogreode/OgreOdeTriangleMeshDataManager.h
r1919 r1923 2 2 #define __OgreOdeTriangleMeshDataManager_H__ 3 3 4 #include <Ogre.h>4 #include "OgreOdePreReqs.h" 5 5 6 #include "OgreOdePreReqs.h" 7 #include "OgreOdeTriangleMeshData.h" 8 9 using namespace std; 6 #include <map> 7 #include <OgreSingleton.h> 8 #include <OgreVector3.h> 10 9 11 10 namespace OgreOde … … 33 32 public: 34 33 35 typedef map<Ogre::String,map<Ogre::Vector3, TriangleMeshDataPtr, vectorLess > > TriangleMeshDataPtrMap;34 typedef std::map<Ogre::String, std::map<Ogre::Vector3, TriangleMeshDataPtr, vectorLess > > TriangleMeshDataPtrMap; 36 35 37 36 /** -
code/branches/physics/src/ogreode/OgreOdeUtility.cpp
r1919 r1923 1 2 1 #include "OgreOdePrecompiledHeaders.h" 3 4 2 #include "OgreOdeUtility.h" 5 3 -
code/branches/physics/src/ogreode/OgreOdeWorld.cpp
r1922 r1923 1 2 1 #include "OgreOdePrecompiledHeaders.h" 3 4 2 #include "OgreOdeWorld.h" 3 4 #include <OgreSceneNode.h> 5 #include <OgreMovableObject.h> 6 5 7 #include "OgreOdeBody.h" 6 #include "OgreOdeJoint.h"7 8 #include "OgreOdeGeometry.h" 8 9 #include "OgreOdeSpace.h" 9 #include "OgreOdeDebugObject.h"10 10 11 11 using namespace OgreOde; -
code/branches/physics/src/ogreode/OgreOdeWorld.h
r1919 r1923 3 3 4 4 #include "OgreOdePreReqs.h" 5 6 #include <map> 7 #include <OgreVector3.h> 8 5 9 #include "OgreOdeMaintainedList.h" 6 #include "OgreSingleton.h" 7 8 #include <map> 10 #include "OgreOdeBody.h" 11 #include "OgreOdeJoint.h" 12 #include "OgreOdeGeometry.h" 13 #include "OgreOdeSpace.h" 9 14 10 15 namespace OgreOde
Note: See TracChangeset
for help on using the changeset viewer.