Blender Git Loki
Git Commits -> Revision 6a9e7ab
Revision 6a9e7ab by Joseph Gilbert (master) July 23, 2005, 13:46 (GMT) |
_new point class and update_ - adds a new point class * point/ vector math (p + v = p, p - p = v, etc.) * points can be transformed by matrices/quats * wraps 'place vector' type vectors that have no magnitude - wrapped toXXX() methods work correctly * toXXX() will NOT wrap data (this is due to the fact that wrapped data cannot be converted) * added a 'wrapped' attribute to mathutils classes to determine wether the object is accessing python or blender data - added the ability to negate vectors/points with "-vec" * deprecated vector.negate() - added the ability to shorhand inverse matrices with "~mat" (tilde) - conversion between vector/point with toXXX() methods |
Commit Details:
Full Hash: 6a9e7ab3f22eb0b153c71f33d0cd912641cd2f0c
SVN Revision: 4886
Parent Commit: 32255b6
Lines Changed: +919, -138
2 Added Paths:
/source/blender/python/api2_2x/point.c (+543, -0) (View)
/source/blender/python/api2_2x/point.h (+65, -0) (View)
/source/blender/python/api2_2x/point.h (+65, -0) (View)
12 Modified Paths:
/source/blender/python/api2_2x/euler.c (+10, -9) (Diff)
/source/blender/python/api2_2x/euler.h (+1, -0) (Diff)
/source/blender/python/api2_2x/Mathutils.c (+145, -0) (Diff)
/source/blender/python/api2_2x/Mathutils.h (+4, -0) (Diff)
/source/blender/python/api2_2x/matrix.c (+23, -11) (Diff)
/source/blender/python/api2_2x/matrix.h (+1, -0) (Diff)
/source/blender/python/api2_2x/quat.c (+27, -36) (Diff)
/source/blender/python/api2_2x/quat.h (+1, -0) (Diff)
/source/blender/python/api2_2x/Types.c (+3, -0) (Diff)
/source/blender/python/api2_2x/Types.h (+1, -0) (Diff)
/source/blender/python/api2_2x/vector.c (+93, -82) (Diff)
/source/blender/python/api2_2x/vector.h (+2, -0) (Diff)
/source/blender/python/api2_2x/euler.h (+1, -0) (Diff)
/source/blender/python/api2_2x/Mathutils.c (+145, -0) (Diff)
/source/blender/python/api2_2x/Mathutils.h (+4, -0) (Diff)
/source/blender/python/api2_2x/matrix.c (+23, -11) (Diff)
/source/blender/python/api2_2x/matrix.h (+1, -0) (Diff)
/source/blender/python/api2_2x/quat.c (+27, -36) (Diff)
/source/blender/python/api2_2x/quat.h (+1, -0) (Diff)
/source/blender/python/api2_2x/Types.c (+3, -0) (Diff)
/source/blender/python/api2_2x/Types.h (+1, -0) (Diff)
/source/blender/python/api2_2x/vector.c (+93, -82) (Diff)
/source/blender/python/api2_2x/vector.h (+2, -0) (Diff)