Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 13, 2005, 6:25:54 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: drawing in diffrent hirarchies works now, with diffrent colors

File:
1 edited

Legend:

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

    r4616 r4622  
    2727    void collideWith(const OBBTree &tree);
    2828
    29     virtual void drawBV(int currentDepth, const int depth) const;
    30     virtual void drawBVPolygon(int currentDepth, const int depth) const;
    31     virtual void drawBVBlended(int currentDepth, const int depth) const;
     29    virtual void drawBV(int depth) const;
     30    virtual void drawBVPolygon(int depth) const;
     31    virtual void drawBVBlended(int depth) const;
     32
     33    Material* getMaterial(unsigned int depth) { return material[depth%3]; }
    3234
    3335    void debug();
    3436
    3537  public:
    36     static Material* material;
     38
    3739
    3840
    3941  private:
    4042    OBBTreeNode*         rootNode;                        //!< reference to the root node of the tree
     43    Material**           material;
    4144
    4245};
Note: See TracChangeset for help on using the changeset viewer.