Blender Git Loki

Git Commits -> Revision 414370b

Revision 414370b by Campbell Barton (master)
December 18, 2011, 07:27 (GMT)
Support for arbitrary sized vectors - (was limited by 2-4 previously)

patch http://codereview.appspot.com/5482043
from Andrew Hale

* Text from the submission *

This patch adds the ability to use arbitrary sized vectors from mathutils.
Currently vectors are only of size 2, 3 or 4 since they are generally restricted
to geometric applications. However, we can use arbitrary sized vectors for
efficient calculations and data manipulation.

Commit Details:

Full Hash: 414370b8d42324878485e569fc332b814131887f
SVN Revision: 42702
Parent Commit: bfdaa3b
Lines Changed: +563, -81

6 Modified Paths:

/source/blender/blenlib/BLI_math_vector.h (+1, -0) (Diff)
/source/blender/blenlib/intern/math_vector.c (+9, -0) (Diff)
/source/blender/python/mathutils/mathutils.c (+85, -29) (Diff)
/source/blender/python/mathutils/mathutils.h (+1, -0) (Diff)
/source/blender/python/mathutils/mathutils_Vector.c (+465, -51) (Diff)
/source/blender/python/mathutils/mathutils_Vector.h (+2, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021