Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 10, 2005, 7:52:50 PM (18 years ago)
Author:
bensch
Message:

newModel new static_model class added

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/newModel/src/lib/graphics/spatial_separation/spatial_separation.h

    r5356 r6021  
    99
    1010
    11 class AbstractModel;
     11class Model;
    1212class Quadtree;
    1313
     
    2121
    2222  public:
    23     SpatialSeparation(AbstractModel* model, float overlapSize);
    24     SpatialSeparation(AbstractModel* model, AbstractModel* playerModel);
     23    SpatialSeparation(Model* model, float overlapSize);
     24    SpatialSeparation(Model* model, Model* playerModel);
    2525    virtual ~SpatialSeparation();
    2626
     
    2828    void setMinLength(int minLength) { this->minLength = minLength; }
    2929
    30     Quadtree* createQuadtree(AbstractModel* model, float minLength);
    31     Quadtree* createQuadtree(AbstractModel* model, int treeDepth);
    32     Quadtree* createQuadtree(AbstractModel* model);
     30    Quadtree* createQuadtree(Model* model, float minLength);
     31    Quadtree* createQuadtree(Model* model, int treeDepth);
     32    Quadtree* createQuadtree(Model* model);
    3333
    3434    inline Quadtree* getQuadtree() { return this->quadtree; }
     
    4141
    4242  private:
    43     AbstractModel*             model;        //!< the reference to the model that has to be handled
     43    Model*             model;        //!< the reference to the model that has to be handled
    4444    Quadtree*                  quadtree;     //!< the reference to the created quadtree
    4545
    46     AbstractModel*             playerModel;  //!< referece to the player model, if needed for overlap calculations
     46    Model*             playerModel;  //!< referece to the player model, if needed for overlap calculations
    4747    float                      overlapSize;  //!< the size of overlaping
    4848
Note: See TracChangeset for help on using the changeset viewer.