- Timestamp:
- Apr 8, 2009, 12:58:47 AM (16 years ago)
- Location:
- code/branches/questsystem5
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/questsystem5
- Property svn:mergeinfo changed
-
code/branches/questsystem5/src/orxonox/objects/worldentities/WorldEntity.h
r2907 r2908 33 33 #include "OrxonoxPrereqs.h" 34 34 35 #ifdef NDEBUG35 #ifdef _NDEBUG 36 36 #include <OgreSceneNode.h> 37 37 #else … … 176 176 177 177 protected: 178 virtual void parentChanged() {}179 180 178 Ogre::SceneNode* node_; 181 179 … … 193 191 194 192 // network callbacks 195 void networkcallback_parentChanged();193 void parentChanged(); 196 194 inline void scaleChanged() 197 195 { this->setScale3D(this->getScale3D()); } … … 271 269 @brief 272 270 Sets how much reaction is applied in a collision. 273 271 274 272 Consider two equal spheres colliding with equal velocities: 275 273 Restitution 1 means that both spheres simply reverse their velocity (no loss of energy) … … 421 419 422 420 // Inline heavily used functions for release builds. In debug, we better avoid including OgreSceneNode here. 423 #ifdef NDEBUG421 #ifdef _NDEBUG 424 422 inline const Vector3& WorldEntity::getPosition() const 425 423 { return this->node_->getPosition(); } 426 424 inline const Quaternion& WorldEntity::getOrientation() const 427 { return this->node_->get Orientation(); }425 { return this->node_->getrOrientation(); } 428 426 inline const Vector3& WorldEntity::getScale3D(void) const 429 427 { return this->node_->getScale(); }
Note: See TracChangeset
for help on using the changeset viewer.