-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
http://patches.synfig.org/r/18/
-----------------------------------------------------------

(Updated 2009-03-31 21:54:54.856644)


Review request for Synfig.


Changes
-------

Ok... I messed up the first time. PO files are out, my new files are in.

P.S. I added files to Makefile.am, breaking the clean layout. Sorry about that.


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 (updated)
-----

  /synfig-core/trunk/src/synfig/Makefile.am 2355 
  /synfig-core/trunk/src/synfig/valuenode.cpp 2355 
  /synfig-core/trunk/src/synfig/valuenode_pow.h PRE-CREATION 
  /synfig-core/trunk/src/synfig/valuenode_pow.cpp PRE-CREATION 

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

Reply via email to