- Timestamp:
- Apr 8, 2009, 12:36:08 AM (15 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
r2662 r2907 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 178 180 Ogre::SceneNode* node_; 179 181 … … 191 193 192 194 // network callbacks 193 void parentChanged();195 void networkcallback_parentChanged(); 194 196 inline void scaleChanged() 195 197 { this->setScale3D(this->getScale3D()); } … … 269 271 @brief 270 272 Sets how much reaction is applied in a collision. 271 273 272 274 Consider two equal spheres colliding with equal velocities: 273 275 Restitution 1 means that both spheres simply reverse their velocity (no loss of energy) … … 419 421 420 422 // Inline heavily used functions for release builds. In debug, we better avoid including OgreSceneNode here. 421 #ifdef _NDEBUG423 #ifdef NDEBUG 422 424 inline const Vector3& WorldEntity::getPosition() const 423 425 { return this->node_->getPosition(); } 424 426 inline const Quaternion& WorldEntity::getOrientation() const 425 { return this->node_->get rOrientation(); }427 { return this->node_->getOrientation(); } 426 428 inline const Vector3& WorldEntity::getScale3D(void) const 427 429 { return this->node_->getScale(); }
Note: See TracChangeset
for help on using the changeset viewer.