- Timestamp:
- Jun 15, 2009, 9:50:37 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/pch/src/orxonox/interfaces/RadarViewable.cc
r3177 r3182 33 33 #include <OgreEntity.h> 34 34 35 #include "util/Debug.h"36 35 #include "util/String.h" 37 36 #include "core/CoreIncludes.h" … … 159 158 return object->getWorldOrientation() * object->getVelocity(); 160 159 } 160 161 void RadarViewable::validate(const WorldEntity* object) const 162 { 163 if (!object) 164 { 165 COUT(1) << "Assertation: Every RadarViewable has to be assigned a WorldEntity pointer!" << std::endl; 166 assert(0); 167 } 168 } 161 169 }
Note: See TracChangeset
for help on using the changeset viewer.