bias(0),
time_tension(0.0f)
{
+ //!Writeme
if(value.get_type()==ValueBase::TYPE_ANGLE)
after=before=INTERPOLATION_LINEAR;
}
void
Waypoint::set_value(const ValueBase &x)
{
+ //! If the value node is not set and we are seting the value
+ //! of an angle, then set both interpolation to linear... why?
if(!value_node && x.get_type()==ValueBase::TYPE_ANGLE)
after=before=INTERPOLATION_LINEAR;
void
Waypoint::set_value_node(const etl::handle<ValueNode> &x)
{
+ //! If the value node is not set and we are seting the value
+ //! of an angle, then set both interpolation to linear... why?
if(!value_node && x->get_type()==ValueBase::TYPE_ANGLE)
after=before=INTERPOLATION_LINEAR;