Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/BKE_shrinkwrap.h
| Show First 20 Lines • Show All 67 Lines • ▼ Show 20 Lines | typedef struct ShrinkwrapCalcData { | ||||
| struct MDeformVert *dvert; //Pointer to mdeform array | struct MDeformVert *dvert; //Pointer to mdeform array | ||||
| int vgroup; //Vertex group num | int vgroup; //Vertex group num | ||||
| struct DerivedMesh *target; //mesh we are shrinking to | struct DerivedMesh *target; //mesh we are shrinking to | ||||
| struct SpaceTransform local2target; //transform to move between local and target space | struct SpaceTransform local2target; //transform to move between local and target space | ||||
| float keepDist; //Distance to keep above target surface (units are in local space) | float keepDist; //Distance to keep above target surface (units are in local space) | ||||
| bool invert_vgroup; //invert vertex group influence | |||||
| } ShrinkwrapCalcData; | } ShrinkwrapCalcData; | ||||
| void shrinkwrapModifier_deform(struct ShrinkwrapModifierData *smd, struct Object *ob, struct DerivedMesh *dm, | void shrinkwrapModifier_deform(struct ShrinkwrapModifierData *smd, struct Object *ob, struct DerivedMesh *dm, | ||||
| float (*vertexCos)[3], int numVerts, bool for_render); | float (*vertexCos)[3], int numVerts, bool for_render); | ||||
| /* | /* | ||||
| * This function casts a ray in the given BVHTree.. but it takes into consideration the space_transform, that is: | * This function casts a ray in the given BVHTree.. but it takes into consideration the space_transform, that is: | ||||
| * | * | ||||
| Show All 21 Lines | |||||