Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10441 in orxonox.OLD for trunk


Ignore:
Timestamp:
Jan 28, 2007, 2:24:05 PM (18 years ago)
Author:
snellen
Message:

fixed moon

Location:
trunk/src/world_entities
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/world_entities/cameraman.cc

    r10428 r10441  
    4343                        ->addMethod("getCurrCameraCoorY", Executor0ret<CameraMan, lua_State*,float>(&CameraMan::getCurrCameraCoorY))
    4444                        ->addMethod("getCurrCameraCoorZ", Executor0ret<CameraMan, lua_State*,float>(&CameraMan::getCurrCameraCoorZ))
     45                        ->addMethod("jumpCurrCam", Executor3<CameraMan, lua_State*,float,float,float>(&CameraMan::jumpCurrCam))
    4546                       );
    4647
     
    225226
    226227
    227 void CameraMan::jumpCurrCam(int x, int y, int z)
     228void CameraMan::jumpCurrCam(float x, float y, float z)
    228229{
    229230  currentCam->target->jump(x, y, z);
  • trunk/src/world_entities/cameraman.h

    r10424 r10441  
    3838    void detachCurrCamera();
    3939    void jumpCam(int x, int y, int z, int camNo);
    40     void jumpCurrCam(int x, int y, int z);
     40    void jumpCurrCam(float x, float y, float z);
    4141    void changeSpeed(float speed);
    4242    void setClipRegion(float nearClip, float farClip);
Note: See TracChangeset for help on using the changeset viewer.