Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 16, 2005, 1:42:14 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: changed the way the data is displayed, now supports colors and stuff. noticed some data drawing problems. the tree separation seems so work perfectly but the graphical data representation is buggy

File:
1 edited

Legend:

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

    r4635 r4638  
    2929    virtual void drawBV(int depth, int drawMode) const;
    3030
    31     Material* getMaterial(unsigned int depth) { return material[depth%3]; }
     31    Material* getMaterial(unsigned int depth) { return material[depth%5]; }
     32    int getID() { return ++this->id;}
     33
    3234
    3335    void debug();
     
    4042    OBBTreeNode*         rootNode;                        //!< reference to the root node of the tree
    4143    Material**           material;
    42 
     44    int                  id;
    4345};
    4446
Note: See TracChangeset for help on using the changeset viewer.