Ignore:
Timestamp:
05/21/07 12:35:33 (17 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Illum/Ogre/src/Common/include/SceneSerializer.h

    r2186 r2388  
    11#include "Ogre.h" 
     2 
     3#ifdef NXOGRE 
     4#include "NXOgre.h" 
     5using namespace NxOgre; 
     6#endif 
    27 
    38using namespace Ogre; 
     
    2227        SceneNode* sceneNode; 
    2328        std::map<String, String> meshFiles;      
    24         std::map<String, unsigned int> pathMapResolutions;       
     29        std::map<String, unsigned int> pathMapResolutions; 
     30         
     31#ifdef NXOGRE 
     32        std::map<String, String> meshPhysXShapes; 
     33        std::map<String, String> meshPhysXShapeParams; 
     34        //float physXMass; 
     35        //float physXDensity; 
     36        //bool physXKinematic; 
     37        //bool physXStatic; 
     38        Scene* scene; 
     39        World* world; 
     40        Body* physXBody; 
     41#endif 
    2542}; 
    2643 
     
    5471        void parseEntryPoints(String filename); 
    5572 
     73        #ifdef NXOGRE 
     74                public: 
     75                        void setScene(Scene* scene){mScriptContext.scene = scene;} 
     76                        void setWorld(World* world){mScriptContext.world = world;} 
     77                 
     78        #endif 
     79 
    5680}; 
Note: See TracChangeset for help on using the changeset viewer.