diff options
author | Bastien Montagne <montagne29@wanadoo.fr> | 2018-05-07 19:14:15 +0300 |
---|---|---|
committer | Bastien Montagne <montagne29@wanadoo.fr> | 2018-05-07 19:18:05 +0300 |
commit | 15f9ca05d1307dcaf63f9ead81ea95283b9484e5 (patch) | |
tree | 03ee540c8826c5c757ea3b1e554f69eafe7ee809 /source/blender/modifiers/intern/MOD_util.h | |
parent | ac6d59db6911759d166642e0ff37005f3190b4e1 (diff) |
Modifier stack: add new get_texture_coords_mesh() helper.
Will eventually fully replace get_texture_coords().
Diffstat (limited to 'source/blender/modifiers/intern/MOD_util.h')
-rw-r--r-- | source/blender/modifiers/intern/MOD_util.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/source/blender/modifiers/intern/MOD_util.h b/source/blender/modifiers/intern/MOD_util.h index b18529abd0c..4ac864a17ef 100644 --- a/source/blender/modifiers/intern/MOD_util.h +++ b/source/blender/modifiers/intern/MOD_util.h @@ -44,6 +44,11 @@ struct Tex; void modifier_init_texture(const struct Scene *scene, struct Tex *texture); void get_texture_coords(struct MappingInfoModifierData *dmd, struct Object *ob, struct DerivedMesh *dm, float (*co)[3], float (*texco)[3], int numVerts); +void get_texture_coords_mesh( + struct MappingInfoModifierData *dmd, + struct Object *ob, + struct Mesh *mesh, + float (*r_texco)[3]); void modifier_vgroup_cache(struct ModifierData *md, float (*vertexCos)[3]); struct DerivedMesh *get_cddm(struct Object *ob, struct BMEditMesh *em, struct DerivedMesh *dm, float (*vertexCos)[3], bool use_normals); |