Blender Git Commit Log
Git Commits -> Revision 21674d2
Revision 21674d2 by Maxime Curioni (master) July 18, 2008, 04:59 (GMT) |
soc-2008-mxcurioni: canvas for UnaryFunction0D, UnaryFunction1D, UnaryPredicate0D, UnaryPredicate1D. UnaryFunction0D and UnaryFunction1D implementations are going to be really challenging due to the changes in the infrastructure: UnaryFunction0D<T> and UnaryFunction0D<T> are templates and must be determined for compile-time. The easiest solution is to support each type individually; unfortunately, it removes the benefit of using an interface. To find a middle ground, a general unary function Python object type was created for 0D and 1D. In both cases, the types have a void* pointer keeping the address of the current unary function type. I am not sure yet if it will work. Interface0DIterator being removed by a list type, the t() and u() coordinate functions will to be transferred somehow, probably directly at the Interface0D level. |
Commit Details:
Full Hash: 21674d2db2dbc932fa87699768c1ebb2f61bc941
SVN Revision: 15618
Parent Commit: d3973da
Lines Changed: +818, -39
6 Added Paths:
/source/blender/freestyle/intern/python/UnaryFunction0D.cpp (+173, -0) (View)
/source/blender/freestyle/intern/python/UnaryFunction0D.h (+35, -0) (View)
/source/blender/freestyle/intern/python/UnaryFunction1D.cpp (+175, -0) (View)
/source/blender/freestyle/intern/python/UnaryFunction1D.h (+35, -0) (View)
/source/blender/freestyle/intern/python/UnaryPredicate0D.h (+35, -0) (View)
/source/blender/freestyle/intern/python/UnaryPredicate1D.h (+35, -0) (View)
/source/blender/freestyle/intern/python/UnaryFunction0D.h (+35, -0) (View)
/source/blender/freestyle/intern/python/UnaryFunction1D.cpp (+175, -0) (View)
/source/blender/freestyle/intern/python/UnaryFunction1D.h (+35, -0) (View)
/source/blender/freestyle/intern/python/UnaryPredicate0D.h (+35, -0) (View)
/source/blender/freestyle/intern/python/UnaryPredicate1D.h (+35, -0) (View)
2 Deleted Paths:
/source/blender/freestyle/intern/python/UnaryFunction0DVoid.cpp (+0, -12)
/source/blender/freestyle/intern/python/UnaryFunction1DVoid.cpp (+0, -20)
/source/blender/freestyle/intern/python/UnaryFunction1DVoid.cpp (+0, -20)