** \legal
** Copyright (c) 2002-2005 Robert B. Quattlebaum Jr., Adrian Bentley
** Copyright (c) 2007, 2008 Chris Moore
-** Copyright (c) 2008 Carlos López
+** Copyright (c) 2008 Carlos López
**
** This package is free software; you can redistribute it and/or
** modify it under the terms of the GNU General Public License as
Real epsilon(0.000001);
value = exp(value);
-
+
set_link("link", ValueNode_Const::create(Real(value)));
set_link("epsilon", ValueNode_Const::create(Real(epsilon)));
set_link("infinite", ValueNode_Const::create(Real(infinity)));
ValueBase
ValueNode_Logarithm::operator()(Time t)const
{
+ if (getenv("SYNFIG_DEBUG_VALUENODE_OPERATORS"))
+ printf("%s:%d operator()\n", __FILE__, __LINE__);
+
Real link = (*link_) (t).get(Real());
Real epsilon = (*epsilon_) (t).get(Real());
Real infinite = (*infinite_)(t).get(Real());
return type==ValueBase::TYPE_REAL;
}
-
+