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.cc

    r5427 r6021  
    1818#include "spatial_separation.h"
    1919
    20 #include "abstract_model.h"
     20#include "model.h"
    2121#include "quadtree.h"
    2222#include "debug.h"
     
    3434
    3535 */
    36 SpatialSeparation::SpatialSeparation (AbstractModel* model, float overlapSize)
     36SpatialSeparation::SpatialSeparation (Model* model, float overlapSize)
    3737{
    3838  PRINT(3)("+---------Debug Information SpatialSeparation----------\n");
     
    5252   The boxes are overlaping because this makes collision detection a lot simpler
    5353 */
    54 SpatialSeparation::SpatialSeparation (AbstractModel* model, AbstractModel* playerModel)
     54SpatialSeparation::SpatialSeparation (Model* model, Model* playerModel)
    5555{
    5656  this->setClassID(CL_SPATIAL_SEPARATION, "SpatialSeparation");
     
    7575 * @return the new quadtree
    7676 */
    77 Quadtree* SpatialSeparation::createQuadtree(AbstractModel* model, float minLength)
     77Quadtree* SpatialSeparation::createQuadtree(Model* model, float minLength)
    7878{
    7979  this->minLength = minLength;
     
    8888 * @return the new quadtree
    8989 */
    90 Quadtree* SpatialSeparation::createQuadtree(AbstractModel* model, int treeDepth)
     90Quadtree* SpatialSeparation::createQuadtree(Model* model, int treeDepth)
    9191{
    9292  this->treeDepth = treeDepth;
     
    100100 * @return the new quadtree
    101101 */
    102 Quadtree* SpatialSeparation::createQuadtree(AbstractModel* model)
     102Quadtree* SpatialSeparation::createQuadtree(Model* model)
    103103{
    104104  this->quadtree = new Quadtree(model->getModelInfo(), 4);
Note: See TracChangeset for help on using the changeset viewer.