Changeset 3125 for code/branches/pch/src/orxonox/objects/Scene.cc
- Timestamp:
- Jun 9, 2009, 2:48:32 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/objects/Scene.cc
r3110 r3125 139 139 { 140 140 CCOUT(2) << "Warning: Setting the negative world range to a very small value: " 141 << omni_cast<std::string>(range) << std::endl;141 << multi_cast<std::string>(range) << std::endl; 142 142 } 143 143 if (this->hasPhysics()) … … 158 158 { 159 159 CCOUT(2) << "Warning: Setting the positive world range to a very small value: " 160 << omni_cast<std::string>(range) << std::endl;160 << multi_cast<std::string>(range) << std::endl; 161 161 } 162 162 if (this->hasPhysics()) … … 176 176 this->gravity_ = gravity; 177 177 if (this->hasPhysics()) 178 this->physicalWorld_->setGravity( omni_cast<btVector3>(this->gravity_));178 this->physicalWorld_->setGravity(multi_cast<btVector3>(this->gravity_)); 179 179 } 180 180 … … 187 187 // It would require further investigation to properly dertermine the right choices. 188 188 this->broadphase_ = new bt32BitAxisSweep3( 189 omni_cast<btVector3>(this->negativeWorldRange_), omni_cast<btVector3>(this->positiveWorldRange_));189 multi_cast<btVector3>(this->negativeWorldRange_), multi_cast<btVector3>(this->positiveWorldRange_)); 190 190 this->collisionConfig_ = new btDefaultCollisionConfiguration(); 191 191 this->dispatcher_ = new btCollisionDispatcher(this->collisionConfig_); … … 193 193 194 194 this->physicalWorld_ = new btDiscreteDynamicsWorld(this->dispatcher_, this->broadphase_, this->solver_, this->collisionConfig_); 195 this->physicalWorld_->setGravity( omni_cast<btVector3>(this->gravity_));195 this->physicalWorld_->setGravity(multi_cast<btVector3>(this->gravity_)); 196 196 197 197 // also set the collision callback variable.
Note: See TracChangeset
for help on using the changeset viewer.