Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBastien Montagne <montagne29@wanadoo.fr>2018-05-07 19:14:15 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2018-05-07 19:18:05 +0300
commit15f9ca05d1307dcaf63f9ead81ea95283b9484e5 (patch)
tree03ee540c8826c5c757ea3b1e554f69eafe7ee809 /source/blender/modifiers/intern/MOD_util.h
parentac6d59db6911759d166642e0ff37005f3190b4e1 (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.h5
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);