Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 13, 2005, 9:17:55 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: now bounding box gets displayed very well

File:
1 edited

Legend:

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

    r4615 r4616  
    2121#include "debug.h"
    2222#include "compiler.h"
     23#include "material.h"
    2324
    2425using namespace std;
    2526
     27
     28Material* OBBTree::material = NULL;
    2629
    2730/**
     
    3033OBBTree::OBBTree ()
    3134{
    32    this->setClassID(CL_OBB_TREE, "OBBTree");
    33 
     35  this->setClassID(CL_OBB_TREE, "OBBTree");
     36  material = new Material("Tree");
     37  material->setIllum(3);
     38  material->setAmbient(1.0, 1.0, 1.0);
    3439}
    3540
Note: See TracChangeset for help on using the changeset viewer.