24 LerpBlendType::~LerpBlendType() {}
30 PN_stdfloat LerpBlendType::operator()(PN_stdfloat t) {
38 EaseInBlendType::~EaseInBlendType() {}
41 LerpBlendType::operator=(c);
45 PN_stdfloat EaseInBlendType::operator()(PN_stdfloat t) {
47 return ((3.0f * x) - (t * x)) * 0.5f;
53 EaseOutBlendType::~EaseOutBlendType() {}
56 LerpBlendType::operator=(c);
60 PN_stdfloat EaseOutBlendType::operator()(PN_stdfloat t) {
61 return ((3.0f * t) - (t * t * t)) * 0.5f;
67 EaseInOutBlendType::~EaseInOutBlendType() {}
71 LerpBlendType::operator=(c);
75 PN_stdfloat EaseInOutBlendType::operator()(PN_stdfloat t) {
77 return (3.0f * x) - (2.0f * t * x);
82 NoBlendType::~NoBlendType() {}
85 LerpBlendType::operator=(c);
89 PN_stdfloat NoBlendType::operator()(PN_stdfloat t) {
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.