Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 4903 in orxonox.OLD


Ignore:
Timestamp:
Jul 19, 2005, 10:50:53 PM (19 years ago)
Author:
patrick
Message:

orxonox/trunk: wanted to test the terrain quadtree in the subproject but the subproject do not work anymore because of the fast development speed of orxonox :)

Location:
orxonox/trunk/src/subprojects
Files:
2 edited

Legend:

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

    r4741 r4903  
    2929#include "test_entity.h"
    3030#include "environment.h"
     31#include "terrain.h"
    3132
    3233
     
    8081  entityList = new tList<WorldEntity>();
    8182
    82   a = new TestEntity(); a->setName("Clown1");
    83   b = new Environment(); b->setName("Jaeger");
    84   //c = new Terrain();
    85 
    86   b->setRelCoor(0.0, 0.0, -20.0);
    87   b->setRelDir(Quaternion(-M_PI/2.0f, Vector(0.0, 1.0, 0.0)));
     83//   a = new TestEntity(); a->setName("Clown1");
     84//   b = new Environment(); b->setName("Jaeger");
     85  a = new Terrain();
     86
     87//   b->setRelCoor(0.0, 0.0, -20.0);
     88//   b->setRelDir(Quaternion(-M_PI/2.0f, Vector(0.0, 1.0, 0.0)));
    8889
    8990  entityList->add(a);
    90   entityList->add(b);
     91//   entityList->add(b);
    9192
    9293  CDEngine::getInstance()->setEntityList(entityList);
  • orxonox/trunk/src/subprojects/framework.cc

    r4785 r4903  
    286286
    287287  camera = new Camera();
    288   State::getInstance()->setCamera(camera, camera->getTarget());
     288  State::setCamera(camera, camera->getTarget());
    289289  camera->setAbsCoor(Vector(10, 10, 10));
    290290
Note: See TracChangeset for help on using the changeset viewer.