blob: ca572c50e13872d57ffd39f8e4cf49653928b036 [file] [log] [blame]
#include "KeyFramePosX.hpp"
#include "../../ActorNode.hpp"
using namespace nima;
void KeyFramePosX::setValue(ActorComponent* component, float value, float mix)
{
ActorNode* node = reinterpret_cast<ActorNode*>(component);
node->x(node->x() * (1.0f - mix) + value * mix);
}