[Orxonox-commit 633] r3165 - branches/pch/src/orxonox/objects/worldentities
rgrieder at orxonox.net
rgrieder at orxonox.net
Sun Jun 14 11:52:50 CEST 2009
Author: rgrieder
Date: 2009-06-14 11:52:50 +0200 (Sun, 14 Jun 2009)
New Revision: 3165
Modified:
branches/pch/src/orxonox/objects/worldentities/WorldEntity.h
Log:
Screwed something..
Modified: branches/pch/src/orxonox/objects/worldentities/WorldEntity.h
===================================================================
--- branches/pch/src/orxonox/objects/worldentities/WorldEntity.h 2009-06-14 09:28:00 UTC (rev 3164)
+++ branches/pch/src/orxonox/objects/worldentities/WorldEntity.h 2009-06-14 09:52:50 UTC (rev 3165)
@@ -32,7 +32,7 @@
#include "OrxonoxPrereqs.h"
-#if def NDEBUG
+#ifdef NDEBUG
#include <OgreSceneNode.h>
#else
#include <OgrePrerequisites.h>
@@ -442,7 +442,7 @@
};
// Inline heavily used functions for release builds. In debug, we better avoid including OgreSceneNode here.
-#if def NDEBUG
+#ifdef NDEBUG
inline const Vector3& WorldEntity::getPosition() const
{ return this->node_->getPosition(); }
inline const Quaternion& WorldEntity::getOrientation() const
More information about the Orxonox-commit
mailing list