6 #include "RenderCamera.h"
9 #include "CameraState.h"
10 #include "Rendering.h"
11 #include "ICallback.h"
12 #include "CallbackCollection.h"
18 namespace SplinePlayback
20 enum SplinePlaybackState
27 typedef Helpers::ICallback1<const SplinePlaybackState&> TPlaybackStateChangedCallback;
34 RenderCamera GetRenderCamera()
const {
return m_camera; }
35 bool IsPlaying()
const {
return m_playing; }
37 double GetPlaybackSpeed()
const {
return m_playbackSpeed; }
38 void SetPlaybackSpeed(
double speed) { m_playbackSpeed = speed; }
40 void TogglePlaybackDirection();
42 bool IsLooped()
const {
return m_looped; }
43 void SetLooped(
bool looped) { m_looped = looped; }
48 void Update(
float dt);
59 double m_playbackSpeed;
74 void UpdateFovAndClippingPlanes();