14 #ifndef CLERPINTERVAL_H 15 #define CLERPINTERVAL_H 35 INLINE
CLerpInterval(
const std::string &name,
double duration,
36 BlendType blend_type);
39 INLINE BlendType get_blend_type()
const;
41 static BlendType string_blend_type(
const std::string &blend_type);
44 double compute_delta(
double t)
const;
47 BlendType _blend_type;
54 static void init_type() {
55 CInterval::init_type();
57 CInterval::get_class_type());
60 return get_class_type();
62 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
The base class for timeline components.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
TypeHandle is the identifier used to differentiate C++ class types.
The base class for a family of intervals that linearly interpolate one or more numeric values over ti...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.