Cleanup: pass lattice directly vertex coord utilities
[blender.git] / source / blender / blenkernel / BKE_lattice.h
index d6df7517ceb8a2d7c4e10594e9a6b9a6a4cd8036..24594da13c64158aaf3575a735245e8abd0f475e 100644 (file)
@@ -88,8 +88,8 @@ void armature_deform_verts(struct Object *armOb,
                            const char *defgrp_name,
                            struct bGPDstroke *gps);
 
-float (*BKE_lattice_vertexcos_get(struct Object *ob, int *r_numVerts))[3];
-void BKE_lattice_vertexcos_apply(struct Object *ob, const float (*vertexCos)[3]);
+float (*BKE_lattice_vertexcos_get(const struct Lattice *lt, int *r_numVerts))[3];
+void BKE_lattice_vertexcos_apply(struct Lattice *lt, const float (*vertexCos)[3]);
 void BKE_lattice_modifiers_calc(struct Depsgraph *depsgraph,
                                 struct Scene *scene,
                                 struct Object *ob);