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