Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 15, 2009, 9:50:37 PM (16 years ago)
Author:
rgrieder
Message:

Found out that that Debug.h is officially included in CoreIncludes.h ;)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pch/src/orxonox/interfaces/RadarViewable.cc

    r3177 r3182  
    3333#include <OgreEntity.h>
    3434
    35 #include "util/Debug.h"
    3635#include "util/String.h"
    3736#include "core/CoreIncludes.h"
     
    159158        return object->getWorldOrientation() * object->getVelocity();
    160159    }
     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    }
    161169}
Note: See TracChangeset for help on using the changeset viewer.