21 #ifndef CCAMERA_UPDATER_H
22 #define CCAMERA_UPDATER_H
28 namespace OpenSkyNet {
46 virtual bool update(
float dt_);
52 inline bool isCurrCamBusy()
const {
return getCine(_currCam) && getCine(_currCam)->isBusy(); }
58 bool lookAtEnd_=
false,
float lookPercentAhead_=0.0f,
bool usePercentOfPoints_=
false);
62 void addFollowTarget(
DIRECTOR_CAM cam_,
Object* follow_,
bool updatePos_=
true,
bool updateRot_=
true);
95 #endif //CCAMERA_UPDATER_H
DIRECTOR_CAM
Definition: CCamera.h:33
virtual bool addObject(Object *obj_, Updater::OBJECT_PRIORITY prio_=Updater::OBJ_1, bool isOneShot_=false)
Definition: CCameraUpdater.h:38
#define UNUSED(var)
Definition: UTypes.h:35
bool isCurrCamBusy() const
Definition: CCameraUpdater.h:52
TYPE
Definition: MInterpolator.h:37
virtual ~Director()
Definition: CCameraUpdater.h:44
DIRECTOR_CAM getCurrCam() const
Definition: CCameraUpdater.h:50
Definition: CUpdater.h:49
DIRECTOR_CAM _prevCam
Definition: CCameraUpdater.h:33
bool _noSwitchIfBusy
Definition: CCameraUpdater.h:34
OBJECT_PRIORITY
Definition: CUpdater.h:49
#define CORE_DLL
Definition: CCoreDLL.h:57
CAMERA_EFFECT
Definition: CCamera.h:32
Definition: IMotionUpdater.h:33
Definition: MInterpolator.h:41
Definition: MMatrix3x3.h:32
DIRECTOR_CAM _goToWhenNotBusy
Definition: CCameraUpdater.h:35
float pos_[3]
Definition: ViewerApp.h:31
Cinematographer * _tempCam
Definition: CCameraUpdater.h:36
Definition: CCameraUpdater.h:31