diff options
Diffstat (limited to 'source/gameengine/Ketsji/KX_IpoActuator.h')
-rw-r--r-- | source/gameengine/Ketsji/KX_IpoActuator.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/gameengine/Ketsji/KX_IpoActuator.h b/source/gameengine/Ketsji/KX_IpoActuator.h index cdc815dff7b..677d72f546e 100644 --- a/source/gameengine/Ketsji/KX_IpoActuator.h +++ b/source/gameengine/Ketsji/KX_IpoActuator.h @@ -47,6 +47,9 @@ private: /** Computes the current frame from the current time and the IPO start time. */ void SetLocalTime(float curtime); + /** Ensures the current frame is between the start and + end frames. */ + bool ClampLocalTime(); protected: bool m_bNegativeEvent; @@ -63,6 +66,7 @@ protected: /** Current active frame of the ipo. */ float m_localtime; + /** The time this ipo started at. */ float m_starttime; /** play backwards or forwards? (positive means forward). */ |