Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4552 in orxonox.OLD for orxonox/trunk/src


Ignore:
Timestamp:
Jun 8, 2005, 11:54:21 AM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: data now gets displayed in the viewer. nothing fancy yet

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/subprojects/collision_detection/collision_detection.cc

    r4551 r4552  
    2020#include "fields.h"
    2121#include "stdlibincl.h"
     22#include "light.h"
    2223
    2324#include "cd_engine.h"
     
    2627{
    2728  CDEngine::getInstance();
     29  CDEngine::getInstance()->debug();
    2830 
     31
     32
     33  LightManager* lightMan = LightManager::getInstance();
     34  lightMan->setAmbientColor(.1,.1,.1);
     35  lightMan->addLight();
     36  lightMan->addLight();
     37  lightMan->setPosition(10, 20, 100);
    2938}
    3039
     
    5261{
    5362  CDEngine::getInstance()->drawBV(1,1);
     63
     64  LightManager::getInstance()->draw();
    5465}
    5566
Note: See TracChangeset for help on using the changeset viewer.