Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 24, 2005, 12:50:34 AM (20 years ago)
Author:
patrick
Message:

orxonox/trunk: now there is a possibility to render the bvtree through the world entities, the bvtree is a member of the worldentity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/world_entities/environment.cc

    r4679 r4682  
    2222#include "vector.h"
    2323#include "objModel.h"
     24#include "obb_tree.h"
    2425
    2526using namespace std;
     
    3334  this->setClassID(CL_ENVIRONMENT, "Environment");
    3435  this->model = (Model*)ResourceManager::getInstance()->load("models/reaplow.obj", OBJ, RP_CAMPAIGN);
     36
     37  this->obbTree = new OBBTree(4, (sVec3D*)this->model->getVertexArray(), this->model->getVertexCount());
    3538}
    3639
Note: See TracChangeset for help on using the changeset viewer.