diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-12-08 09:12:33 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-12-08 09:12:33 +0300 |
commit | 00f3957b8edd74f901cb52af1d2353e5b8df7437 (patch) | |
tree | 1ef2ae4486621851394238cdd48559493c95095d /source/blender/modifiers/intern/MOD_util.h | |
parent | c1279768a77d093e1747f4954c9c0a959feefdf0 (diff) |
Cleanup: move public doc-strings into headers for 'modifiers'
Ref T92709
Diffstat (limited to 'source/blender/modifiers/intern/MOD_util.h')
-rw-r--r-- | source/blender/modifiers/intern/MOD_util.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_util.h b/source/blender/modifiers/intern/MOD_util.h index a3db848874e..a6fc2749e71 100644 --- a/source/blender/modifiers/intern/MOD_util.h +++ b/source/blender/modifiers/intern/MOD_util.h @@ -32,6 +32,9 @@ struct ModifierEvalContext; struct Object; void MOD_init_texture(struct MappingInfoModifierData *dmd, const struct ModifierEvalContext *ctx); +/** + * \param cos: may be NULL, in which case we use directly mesh vertices' coordinates. + */ void MOD_get_texture_coords(struct MappingInfoModifierData *dmd, const struct ModifierEvalContext *ctx, struct Object *ob, @@ -41,6 +44,9 @@ void MOD_get_texture_coords(struct MappingInfoModifierData *dmd, void MOD_previous_vcos_store(struct ModifierData *md, const float (*vert_coords)[3]); +/** + * \returns a mesh if mesh == NULL, for deforming modifiers that need it. + */ struct Mesh *MOD_deform_mesh_eval_get(struct Object *ob, struct BMEditMesh *em, struct Mesh *mesh, |