Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10257 in orxonox.OLD


Ignore:
Timestamp:
Jan 17, 2007, 2:21:57 PM (18 years ago)
Author:
gfilip
Message:

bla bla bla

Location:
branches/camera/src/world_entities
Files:
3 edited

Legend:

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

    r10254 r10257  
    3636  this->cameras.push_back(new Camera());
    3737  cameras[cameras.size()-1]->target->detach();
     38  cout << cameras[1]->getAbsCoorX() << "," << cameras[1]->getAbsCoorY() << "," << cameras[1]->getAbsCoorZ() << endl << cameras[1]->target->getAbsCoorX() << endl;
    3839
    3940}
     
    4344  if (cameraNo<cameras.size())
    4445  {
    45   cout << "TTTTT" << currentCam << "TTTT \n";
    4646  currentCam=cameras[cameraNo];
    47   cout << "TTTT" << currentCam << "*" << cameras.size() << "*TTTTT\n" ;
    4847  State::setCamera(currentCam, currentCam->getTarget());
    49   cout << cameras[0];
    5048  }
    5149
  • branches/camera/src/world_entities/cameraman.h

    r10254 r10257  
    1111    Camera* currentCam;
    1212   // int camNo;
    13     std::vector<Camera*> cameras;
     13
    1414
    1515
    1616  public:
     17    std::vector<Camera*> cameras;
    1718    cameraman();
    1819    void setCam(int CameraNo);
  • branches/camera/src/world_entities/test_entity.cc

    r10255 r10257  
    2323#include "test_entity.h"
    2424#include "debug.h"
    25 
    26 
     25#include <iostream.h>
    2726#include "state.h"
    2827#include "shell_command.h"
     
    101100void TestEntity::t4()
    102101{
     102  cout << CM->cameras[1]->getAbsCoorX() << endl <<CM->cameras[1]->getAbsCoorY() << endl <<CM->cameras[1]->getAbsCoorZ() << endl << CM->cameras[1]->target->getAbsCoorX() << endl;
    103103  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;
    104105}
    105106
Note: See TracChangeset for help on using the changeset viewer.