Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 17, 2010, 3:21:51 PM (14 years ago)
Author:
kolibri7
Message:

*fully functional lod implementation
*added file templates/lodinformation.oxt in many maps
*changed some settings in templates/lodinformation.oxt

Location:
code/branches/lod/src/orxonox/graphics
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/lod/src/orxonox/graphics/Model.cc

    r6877 r6909  
    4949
    5050        this->registerVariables();
     51        //LoD
     52        this->lodLevel_=5;
    5153    }
    5254
  • code/branches/lod/src/orxonox/graphics/Model.h

    r6843 r6909  
    6767           
    6868            //LoD
    69             inline void setLodLevel(unsigned short lodLevel)
     69            inline void setLodLevel(float lodLevel)
    7070                { this->lodLevel_ =  lodLevel; }
    71             inline unsigned short getLodLevel() const
     71            inline float getLodLevel() const
    7272                { return this->lodLevel_; }
    7373            float Model::getBiggestScale(Vector3 scale3d);
     
    7878           
    7979            //LoD
    80             unsigned short lodLevel_;
     80            float lodLevel_;
    8181    };
    8282}
Note: See TracChangeset for help on using the changeset viewer.