Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Apr 12, 2010, 3:48:24 PM (14 years ago)
Author:
kolibri7
Message:

implementing the XMLPort function for LoD; getting some erreors from gcc…

File:
1 edited

Legend:

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

    r5781 r6691  
    6161            inline bool getCastShadows() const
    6262                { return this->bCastShadows_; }
    63 
     63                               
    6464        private:
    6565            void changedMesh();
    6666            void changedShadows();
     67                       
     68                        //LoD
     69                        inline void setLodLevel(unsigned short lodLevel)
     70                                { this->lodLevel_ =  lodLevel; }
     71                        inline unsigned short getLodLevel() const
     72                                { return this->lodLevel_; }
    6773
    6874            std::string meshSrc_;
    6975            Mesh mesh_;
    7076            bool bCastShadows_;
     77                       
     78                        //LoD
     79                        unsigned short lodLevel_;
    7180    };
    7281}
Note: See TracChangeset for help on using the changeset viewer.