Changeset 1669 for OGRE


Ignore:
Timestamp:
10/23/06 23:25:15 (18 years ago)
Author:
szirmay
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • OGRE/trunk/ogre_changes/Ogre1.2/PlugIns/OctreeSceneManager/include/OgreTerrainRenderable.h

    r921 r1669  
    4343#include <OgreString.h> 
    4444#include <OgreHardwareBufferManager.h> 
     45#include <OgreMaterialManager.h> 
    4546 
    4647#include <vector> 
     
    269270            mMaterial = m; 
    270271        }; 
     272 
     273#ifdef GAMETOOLS_ILLUMINATION_MODULE 
     274                void setMaterialName(const String &name) 
     275                { 
     276                        setMaterial(MaterialManager::getSingleton().getByName(name)); 
     277                } 
     278#endif 
    271279 
    272280        /** Calculates static normals for lighting the terrain. */ 
Note: See TracChangeset for help on using the changeset viewer.