diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-12-30 14:47:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-12-30 14:49:52 +0300 |
commit | cefb76426980b763bbf68f022fc0df8aec8a25bd (patch) | |
tree | 2fcd4f3329109a96fd46eb7cbec7e4631b24c4fc /source/blender/python/mathutils/mathutils.h | |
parent | 68600920ced198eaa1524993f988f26118402e50 (diff) |
PyAPI: geometry.normal, support polygons
Previously this only supported tri/quads,
now arbitrary size poly lines are supported.
Diffstat (limited to 'source/blender/python/mathutils/mathutils.h')
-rw-r--r-- | source/blender/python/mathutils/mathutils.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/python/mathutils/mathutils.h b/source/blender/python/mathutils/mathutils.h index 5f89c78b9cd..be2b45d349f 100644 --- a/source/blender/python/mathutils/mathutils.h +++ b/source/blender/python/mathutils/mathutils.h @@ -115,6 +115,8 @@ int mathutils_any_to_rotmat(float rmat[3][3], PyObject *value, const char *error * handy when using 3d vectors as 2d */ #define MU_ARRAY_SPILL (1 << 31) +#define MU_ARRAY_FLAGS (MU_ARRAY_ZERO | MU_ARRAY_SPILL) + int column_vector_multiplication(float rvec[4], VectorObject *vec, MatrixObject *mat); #ifndef MATH_STANDALONE |