Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 8, 2005, 10:34:04 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: draw functions and some sVec3D issues

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/collision_detection/obb_tree.cc

    r4546 r4550  
    1717
    1818#include "obb_tree.h"
     19#include "obb_tree_node.h"
    1920#include "obb.h"
    2021#include "debug.h"
     22#include "compiler.h"
    2123
    2224using namespace std;
     
    5860
    5961void OBBTree::drawBV(int currentDepth, const int depth) const
    60 {}
     62{
     63  if( likely(this->rootNode != NULL))
     64    this->rootNode->drawBV(currentDepth, depth);
     65}
    6166
    6267
    6368void OBBTree::drawBVPolygon(int currentDepth, const int depth) const
    64 {}
     69{
     70  if( likely(this->rootNode != NULL))
     71    this->rootNode->drawBVPolygon(currentDepth, depth);
     72}
    6573
    6674
    6775void OBBTree::drawBVBlended(int currentDepth, const int depth) const
    68 {}
     76{
     77  if( likely(this->rootNode != NULL))
     78    this->rootNode->drawBVBlended(currentDepth, depth);
     79}
    6980
    7081
Note: See TracChangeset for help on using the changeset viewer.