----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: http://patches.synfig.org/r/18/ -----------------------------------------------------------
Review request for Synfig. Summary ------- New ValueNode type: Power (valuenode_pow): Attributes: base, power, epsilon, infinite Function: returns base^power Fractional and negative powers are supported, so this ValueNode type can also do square roots, reciprocals, etc. Note that I implemented this type in error-free mode. That is, the node gives an output even if the operation is undefined. (This appears to be the accepted standard.) The special definitions are: 1. 0^x is "0" if x is positive, and "+/- infinite" if x is negative 2. If a negative base is raised to a noninteger power, the power is rounded (typecast) to an integer Diffs ----- /synfig-core/trunk/po/es.po 2355 /synfig-core/trunk/po/fr.po 2355 /synfig-core/trunk/po/ru.po 2355 /synfig-core/trunk/src/synfig/Makefile.am 2355 /synfig-core/trunk/src/synfig/valuenode.cpp 2355 Diff: http://patches.synfig.org/r/18/diff Testing ------- Compiles & runs. All features work as planned, but the way undefined outputs are treated may need to be revised. Thanks, nikitakit ------------------------------------------------------------------------------ _______________________________________________ Synfig-devl mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/synfig-devl
