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