diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2014-12-15 21:45:01 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2015-01-20 11:30:09 +0300 |
commit | 658fc3ddbc0e0a8b1ea7c10a62c6cc2e208c9461 (patch) | |
tree | 042331d1fd397aebe987261993dc864b34300d5b /source/blender/python/mathutils/mathutils_interpolate.h | |
parent | 3b938f3d7fe6aadd8f1ab66acaf82dfe629d0ac1 (diff) |
New python submodule `mathutils.interpolate` for various mesh interpolation and weighting methods.
This module will contain mirrored functions for calculating and applying
weights for points on a mesh. This includes barycentric and UV weighting
and possibly more advanced global weighting such as harmonic weights.
The naming should follow this scheme:
<type>_{2d,3d}_{calc,apply}
e.g.
poly_2d_calc
poly_2d_apply
uv_3d_calc
...
Reviewers: campbellbarton
Differential Revision: https://developer.blender.org/D939
Diffstat (limited to 'source/blender/python/mathutils/mathutils_interpolate.h')
-rw-r--r-- | source/blender/python/mathutils/mathutils_interpolate.h | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/source/blender/python/mathutils/mathutils_interpolate.h b/source/blender/python/mathutils/mathutils_interpolate.h new file mode 100644 index 00000000000..1bbff6f3286 --- /dev/null +++ b/source/blender/python/mathutils/mathutils_interpolate.h @@ -0,0 +1,32 @@ +/* + * ***** BEGIN GPL LICENSE BLOCK ***** + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + * + * Contributor(s): Lukas Toenne + * + * ***** END GPL LICENSE BLOCK ***** + */ + +#ifndef __MATHUTILS_INTERPOLATE_H__ +#define __MATHUTILS_INTERPOLATE_H__ + +/** \file blender/python/mathutils/mathutils_interpolate.h + * \ingroup pymathutils + */ + +PyMODINIT_FUNC PyInit_mathutils_interpolate(void); + +#endif /* __MATHUTILS_INTERPOLATE_H__ */ |