ValueBase
ValueNode_DotProduct::operator()(Time t)const
{
+ if (getenv("SYNFIG_DEBUG_VALUENODE_OPERATORS"))
+ printf("%s:%d operator()\n", __FILE__, __LINE__);
+
Vector lhs((*lhs_)(t).get(Vector()));
Vector rhs((*rhs_)(t).get(Vector()));
return Angle::cos(lhs * rhs / lhs.mag() / rhs.mag()).mod();
case ValueBase::TYPE_REAL:
return lhs * rhs;
+ default:
+ break;
}
assert(0);