Blender Git Loki

Git Commits -> Revision c62d33c

Revision c62d33c by Campbell Barton (master)
November 24, 2011, 04:12 (GMT)
patch: [#29382] Arbitrary Length Array Function Additions and Modifications
from Andrew Hale (trumanblending), with some edits to use these in mathutils.Vector added.

Added Functions:
- dot_vn_vn - Dot product of two arrays
- normalize_vn_vn - Normalize an array and store the result in a second array
- normalize_vn - Normalize an array inplace

Renamed Functions:
Some functions have been renamed to make them consistent with the naming conventions used by fixed length array functions.
- fill_vni to fill_vn_i
- fill_vn to fill_vn_fl

Commit Details:

Full Hash: c62d33c540830188207bc32d5e3fc5a2134f5ab1
SVN Revision: 42114
Parent Commit: f94614d
Lines Changed: +55, -54

7 Modified Paths:

/source/blender/blenkernel/intern/DerivedMesh.c (+3, -3) (Diff)
/source/blender/blenlib/BLI_math_vector.h (+7, -4) (Diff)
/source/blender/blenlib/intern/math_vector.c (+33, -3) (Diff)
/source/blender/editors/space_logic/logic_window.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_object.c (+1, -1) (Diff)
/source/blender/python/mathutils/mathutils_Matrix.c (+1, -1) (Diff)
/source/blender/python/mathutils/mathutils_Vector.c (+9, -41) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021