case ValueBase::TYPE_ANGLE:
set_link("link",ValueNode_Const::create(value.get(Angle())));
break;
+ case ValueBase::TYPE_BOOL:
+ set_link("link",ValueNode_Const::create(value.get(bool())));
+ break;
case ValueBase::TYPE_COLOR:
set_link("link",ValueNode_Const::create(value.get(Color())));
break;
return ((*link_)(t).get( Angle()) +
Angle::deg(random(Smooth(smooth), 0, 0, 0, speed) * radius));
+ case ValueBase::TYPE_BOOL:
+ return round_to_int((*link_)(t).get( bool()) +
+ random(Smooth(smooth), 0, 0, 0, speed) * radius) > 0;
+
case ValueBase::TYPE_COLOR:
return (((*link_)(t).get( Color()) +
Color(random(Smooth(smooth), 0, 0, 0, speed),
{
return
type==ValueBase::TYPE_ANGLE ||
+ type==ValueBase::TYPE_BOOL ||
type==ValueBase::TYPE_COLOR ||
type==ValueBase::TYPE_INTEGER ||
type==ValueBase::TYPE_REAL ||