Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 20, 2010, 10:23:22 AM (14 years ago)
Author:
scheusso
Message:

merging lod branch into presentation3 merger branch

Location:
code/branches/presentation3
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/branches/presentation3

  • code/branches/presentation3/src/orxonox/graphics/Model.h

    r5781 r6926  
    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(float lodLevel)
     70                { this->lodLevel_ =  lodLevel; }
     71            inline float getLodLevel() const
     72                { return this->lodLevel_; }
     73            float getBiggestScale(Vector3 scale3d);
    6774
    6875            std::string meshSrc_;
    6976            Mesh mesh_;
    7077            bool bCastShadows_;
     78           
     79            //LoD
     80            float lodLevel_;
    7181    };
    7282}
Note: See TracChangeset for help on using the changeset viewer.