Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 12, 2007, 8:19:40 PM (16 years ago)
Author:
nicolape
Message:

Added example implementation of world entity

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/FICN/src/orxonox/objects/test1.cc

    r480 r482  
    33#include "test3.h"
    44#include "../../tinyxml/tinyxml.h"
     5#include "../orxonox.h"
     6#include <OgreSceneManager.h>
    57
    68namespace orxonox
     
    7072    void Test1::loadParams(TiXmlElement* xmlElem)
    7173    {
     74        Ogre::SceneManager* mgr = orxonox::Orxonox::getSingleton()->getSceneManager();
     75       
     76        mgr->setAmbientLight(ColourValue(1,0,0));
     77       
     78       
     79       
    7280        std::cout<< xmlElem->GetText()<<std::endl;
     81       
     82       
    7383    }
    7484}
Note: See TracChangeset for help on using the changeset viewer.