Changeset 10413 in orxonox.OLD for trunk/src/world_entities/cameraman.cc
- Timestamp:
- Jan 27, 2007, 9:11:13 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/world_entities/cameraman.cc
r10411 r10413 35 35 ->addMethod("atachCurrCameraToWorldEntity", Executor2<CameraMan, lua_State*,const std::string&,const std::string&>(&CameraMan::atachCurrCameraToWorldEntity)) 36 36 ->addMethod("changeTarget", Executor3<CameraMan, lua_State*, const std::string&, const std::string&,const std::string&>(&CameraMan::changeTarget)) 37 ->addMethod("detachCurrCamera", Executor0<CameraMan, lua_State*>(&CameraMan::detachCurrCamera)) 37 38 ->addMethod("setCam", Executor1<CameraMan, lua_State*, const std::string&>(&CameraMan::setCam)) 38 39 ->addMethod("togglFade", Executor0<CameraMan, lua_State*>(&CameraMan::togglFade)) … … 180 181 } 181 182 183 void CameraMan::detachCurrCamera() 184 { 185 currentCam->target->detach(); 186 } 182 187 183 188 void CameraMan::jumpCam(int x, int y, int z, int camNo)
Note: See TracChangeset
for help on using the changeset viewer.