Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Aug 16, 2010, 10:56:26 PM (14 years ago)
Author:
landauf
Message:

added new macro to ConfigValueIncludes.h, "SetConfigValueExternal" for values with user-defined name AND user-defined section

added new config value for models to enable/disable LOD (aimed towards people which experience crashes when using LOD)
moved config value for the LOD of ParticleInterface to the same section (GraphicsSettings) using the new macro

File:
1 edited

Legend:

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

    r7163 r7166  
    4444            virtual ~Model();
    4545
     46            void setConfigValues();
     47
    4648            virtual void XMLPort(Element& xmlelement, XMLPort::Mode mode);
    4749
     
    6769
    6870            //LoD
     71            void enableLod();
     72
    6973            inline void setLodLevel(float lodLevel)
    7074                { this->lodLevel_ =  lodLevel; }
     
    7882
    7983            //LoD
     84            bool bGlobalEnableLod_;
    8085            float lodLevel_;
    8186            bool bLodEnabled_;
Note: See TracChangeset for help on using the changeset viewer.