Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

next update

File:
1 edited

Legend:

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

    r10198 r10204  
    3636
    3737
     38
     39void cameraman::moveCurrCam(int x, int y, int z)
     40{
     41currentCam->target->trans(x,y,z);
     42}
     43
     44
     45void cameraman::moveCam(int x, int y, int z, int camNo)
     46{
     47cameras[camNo]->target->trans(x,y,z);
     48}
     49
     50
     51void cameraman::changeTarget(int camNo, PNode* target)
     52{
     53  cameras[camNo]->setTargetNode(target);
     54}
     55
     56
     57void cameraman::changeCurrTarget(PNode* target)
     58{
     59  currentCam->setTargetNode(target);
     60}
     61
     62void cameraman::jumpCam(int x, int y, int z, int camNo)
     63{
     64 // cameras[camNo]
     65}
     66
     67
     68void jumpCurrCam(int x, int y, int z)
     69{
     70}
     71
     72
     73
     74
     75
     76
     77
     78
     79
     80
     81
     82
     83
     84
     85
     86
     87
     88
     89
     90
     91
     92
     93
Note: See TracChangeset for help on using the changeset viewer.