mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-03-29 22:20:33 +00:00
Default mEasingFn in constructor
This commit is contained in:
parent
231af7b1ae
commit
72c95a51df
@ -93,6 +93,7 @@ namespace MWRender
|
|||||||
|
|
||||||
AnimBlendController::AnimBlendController(const osg::ref_ptr<SceneUtil::KeyframeController>& keyframeTrack,
|
AnimBlendController::AnimBlendController(const osg::ref_ptr<SceneUtil::KeyframeController>& keyframeTrack,
|
||||||
const AnimBlendStateData& newState, const osg::ref_ptr<const SceneUtil::AnimBlendRules>& blendRules)
|
const AnimBlendStateData& newState, const osg::ref_ptr<const SceneUtil::AnimBlendRules>& blendRules)
|
||||||
|
: mEasingFn(&Easings::sineOut)
|
||||||
{
|
{
|
||||||
setKeyframeTrack(keyframeTrack, newState, blendRules);
|
setKeyframeTrack(keyframeTrack, newState, blendRules);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user