Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10205 in orxonox.OLD


Ignore:
Timestamp:
Jan 10, 2007, 1:30:09 PM (18 years ago)
Author:
gfilip
Message:

tralala

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

Legend:

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

    r10204 r10205  
    5151void cameraman::changeTarget(int camNo, PNode* target)
    5252{
    53   cameras[camNo]->setTargetNode(target);
     53  cameras[camNo]->target->atach(target);
    5454}
    5555
     
    5757void cameraman::changeCurrTarget(PNode* target)
    5858{
    59   currentCam->setTargetNode(target);
     59  currentCam->target->atach(target);
    6060}
    6161
  • branches/camera/src/world_entities/cameraman.h

    r10204 r10205  
    1111    int camNo;
    1212    int camAmount;
    13 
     13    Camera* cameras[6];
    1414
    1515
     
    1818    void setCam(int CameraNo);
    1919    void createCam();
    20     Camera* cameras[6];
    2120    void moveCam(int x, int y, int z,  int camNo);
    2221    void moveCurrCam(int x, int y, int z);
Note: See TracChangeset for help on using the changeset viewer.