From 00f3957b8edd74f901cb52af1d2353e5b8df7437 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Wed, 8 Dec 2021 17:12:33 +1100 Subject: Cleanup: move public doc-strings into headers for 'modifiers' Ref T92709 --- source/blender/modifiers/intern/MOD_util.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source/blender/modifiers/intern/MOD_util.h') 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, -- cgit v1.2.3