Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 9, 2005, 12:21:08 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: compiles again, some smaller changes in the cd engine

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/lib/collision_detection/obb_tree_node.h

    r4557 r4560  
    2727  virtual void spawnBVTree(const int depth, sVec3D *verticesList, const int length);
    2828
    29   BoundingVolume* getBV(int index) const { return this->bvElement; }
     29  BoundingVolume* getBV(int index) const { return (BoundingVolume*)this->bvElement; }
    3030  inline const int getIndex() { return this->treeIndex; } 
    3131
     
    3838 private:
    3939  OBB* createBox();
    40   void calculateBoxAttributes(OBB* box);
     40  void calculateBoxAttributes(OBB* box, sVec3D* verticesList, int length);
    4141  void forkBox(OBB* box);
    4242 
    4343
    44 
    4544 protected:
    46   BoundingVolume* bvElement;
     45  OBB* bvElement;
    4746  OBBTreeNode* nodeLeft;
    4847  OBBTreeNode* nodeRight;
Note: See TracChangeset for help on using the changeset viewer.