Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 17, 2007, 6:16:08 PM (17 years ago)
Author:
gfilip
Message:

evrything finally solved

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camera/src/world_entities/test_entity.cc

    r10262 r10272  
    2323#include "test_entity.h"
    2424#include "debug.h"
    25 #include <iostream.h>
    2625#include "state.h"
    2726#include "shell_command.h"
     
    8079void TestEntity::test()
    8180{
    82   CM= new cameraman();
     81  CM= State::getCameraman();
    8382  CM->createCam();
    84   //CM->moveCurrCam(-300, 0, 0);
    8583  CM->moveCam(-300, 0, 0, 0);
    8684}
     
    10098void TestEntity::t4()
    10199{
    102   cout << CM->cameras[1]->getAbsCoorX() << endl <<CM->cameras[1]->getAbsCoorY() << endl <<CM->cameras[1]->getAbsCoorZ() << endl << CM->cameras[1]->target->getAbsCoorX() << endl;
    103   CM->testCam();
    104   cout << CM->cameras[1]->getAbsCoorX() << endl <<CM->cameras[1]->getAbsCoorY() << endl <<CM->cameras[1]->getAbsCoorZ() << endl << CM->cameras[1]->target->getAbsCoorX() << endl;
     100
    105101}
    106102
Note: See TracChangeset for help on using the changeset viewer.