15 #ifndef CCONSTRAINPOSINTERVAL_H
16 #define CCONSTRAINPOSINTERVAL_H
18 #include "directbase.h"
19 #include "cConstraintInterval.h"
21 #include "lvecBase3.h"
34 INLINE
const NodePath &get_node()
const;
35 INLINE
const NodePath &get_target()
const;
38 virtual void output(ostream &out)
const;
50 static void init_type() {
51 CConstraintInterval::init_type();
52 register_type(_type_handle,
"CConstrainPosInterval",
53 CConstraintInterval::get_class_type());
56 return get_class_type();
58 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
64 #include "cConstrainPosInterval.I"
This is the base class for all three-component vectors and points.
virtual void priv_step(double t)
Advances the time on the interval.
static const LVector3f & zero()
Returns a zero-length vector.
The base class for a family of intervals that constrain some property to a value over time...
A constraint interval that will constrain the position of one node to the position of another...
TypeHandle is the identifier used to differentiate C++ class types.
NodePath is the fundamental system for disambiguating instances, and also provides a higher-level int...