Changeset 2374 for code/branches/physics/src/orxonox/objects/Scene.h
- Timestamp:
- Dec 10, 2008, 1:38:17 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/physics/src/orxonox/objects/Scene.h
r2313 r2374 70 70 inline bool hasPhysics() 71 71 { return this->physicalWorld_ != 0; } 72 void setPhysicalWorld(bool wantsPhysics , const Vector3& worldAabbMin, const Vector3& worldAabbMax);72 void setPhysicalWorld(bool wantsPhysics);//, const Vector3& worldAabbMin, const Vector3& worldAabbMax); 73 73 74 74 void addRigidBody(btRigidBody* body); … … 85 85 void networkcallback_applyAmbientLight() 86 86 { this->setAmbientLight(this->ambientLight_); } 87 void networkcallback_hasPhysics() 88 { this->setPhysicalWorld(this->bHasPhysics_); } 87 89 88 Ogre::SceneManager* sceneManager_;89 Ogre::SceneNode* rootSceneNode_;90 Ogre::SceneManager* sceneManager_; 91 Ogre::SceneNode* rootSceneNode_; 90 92 91 93 btDiscreteDynamicsWorld* physicalWorld_; 92 94 std::set<btRigidBody*> physicsQueue_; 95 bool bHasPhysics_; 93 96 94 std::string skybox_;95 ColourValue ambientLight_;96 std::list<BaseObject*> objects_;97 bool bShadows_;97 std::string skybox_; 98 ColourValue ambientLight_; 99 std::list<BaseObject*> objects_; 100 bool bShadows_; 98 101 }; 99 102 }
Note: See TracChangeset
for help on using the changeset viewer.