Changeset 6021 in orxonox.OLD for branches/newModel/src/lib/graphics/spatial_separation/spatial_separation.h
- Timestamp:
- Dec 10, 2005, 7:52:50 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/newModel/src/lib/graphics/spatial_separation/spatial_separation.h
r5356 r6021 9 9 10 10 11 class AbstractModel;11 class Model; 12 12 class Quadtree; 13 13 … … 21 21 22 22 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); 25 25 virtual ~SpatialSeparation(); 26 26 … … 28 28 void setMinLength(int minLength) { this->minLength = minLength; } 29 29 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); 33 33 34 34 inline Quadtree* getQuadtree() { return this->quadtree; } … … 41 41 42 42 private: 43 AbstractModel* model; //!< the reference to the model that has to be handled43 Model* model; //!< the reference to the model that has to be handled 44 44 Quadtree* quadtree; //!< the reference to the created quadtree 45 45 46 AbstractModel* playerModel; //!< referece to the player model, if needed for overlap calculations46 Model* playerModel; //!< referece to the player model, if needed for overlap calculations 47 47 float overlapSize; //!< the size of overlaping 48 48
Note: See TracChangeset
for help on using the changeset viewer.