15 #include "lerpblend.h" 25 LerpBlendType::~LerpBlendType() {}
31 PN_stdfloat LerpBlendType::operator()(PN_stdfloat t) {
39 EaseInBlendType::~EaseInBlendType() {}
42 LerpBlendType::operator=(c);
46 PN_stdfloat EaseInBlendType::operator()(PN_stdfloat t) {
48 return ((3.0f * x) - (t * x)) * 0.5f;
54 EaseOutBlendType::~EaseOutBlendType() {}
57 LerpBlendType::operator=(c);
61 PN_stdfloat EaseOutBlendType::operator()(PN_stdfloat t) {
62 return ((3.0f * t) - (t * t * t)) * 0.5f;
68 EaseInOutBlendType::~EaseInOutBlendType() {}
72 LerpBlendType::operator=(c);
76 PN_stdfloat EaseInOutBlendType::operator()(PN_stdfloat t) {
78 return (3.0f * x) - (2.0f * t * x);
83 NoBlendType::~NoBlendType() {}
86 LerpBlendType::operator=(c);
90 PN_stdfloat NoBlendType::operator()(PN_stdfloat t) {
TypeHandle is the identifier used to differentiate C++ class types.