Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 8, 2009, 12:58:47 AM (16 years ago)
Author:
dafrick
Message:

Reverted to revision 2906 (because I'm too stupid to merge correctly, 2nd try will follow shortly. ;))

Location:
code/branches/questsystem5
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/questsystem5

  • code/branches/questsystem5/src/orxonox/objects/worldentities/WorldEntity.h

    r2907 r2908  
    3333#include "OrxonoxPrereqs.h"
    3434
    35 #ifdef NDEBUG
     35#ifdef _NDEBUG
    3636#include <OgreSceneNode.h>
    3737#else
     
    176176
    177177        protected:
    178             virtual void parentChanged() {}
    179 
    180178            Ogre::SceneNode* node_;
    181179
     
    193191
    194192            // network callbacks
    195             void networkcallback_parentChanged();
     193            void parentChanged();
    196194            inline void scaleChanged()
    197195                { this->setScale3D(this->getScale3D()); }
     
    271269            @brief
    272270                Sets how much reaction is applied in a collision.
    273 
     271               
    274272                Consider two equal spheres colliding with equal velocities:
    275273                Restitution 1 means that both spheres simply reverse their velocity (no loss of energy)
     
    421419
    422420    // Inline heavily used functions for release builds. In debug, we better avoid including OgreSceneNode here.
    423 #ifdef NDEBUG
     421#ifdef _NDEBUG
    424422    inline const Vector3& WorldEntity::getPosition() const
    425423        { return this->node_->getPosition(); }
    426424    inline const Quaternion& WorldEntity::getOrientation() const
    427         { return this->node_->getOrientation(); }
     425        { return this->node_->getrOrientation(); }
    428426    inline const Vector3& WorldEntity::getScale3D(void) const
    429427        { return this->node_->getScale(); }
Note: See TracChangeset for help on using the changeset viewer.