Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/DerivedMesh.c
| Show First 20 Lines • Show All 1,074 Lines • ▼ Show 20 Lines | void DM_interp_tessface_data( | ||||
| int count, int dest_index) | int count, int dest_index) | ||||
| { | { | ||||
| CustomData_interp(&source->faceData, &dest->faceData, src_indices, | CustomData_interp(&source->faceData, &dest->faceData, src_indices, | ||||
| weights, (float *)vert_weights, count, dest_index); | weights, (float *)vert_weights, count, dest_index); | ||||
| } | } | ||||
| void DM_swap_tessface_data(DerivedMesh *dm, int index, const int *corner_indices) | void DM_swap_tessface_data(DerivedMesh *dm, int index, const int *corner_indices) | ||||
| { | { | ||||
| CustomData_swap(&dm->faceData, index, corner_indices); | CustomData_swap_corners(&dm->faceData, index, corner_indices); | ||||
| } | } | ||||
| void DM_interp_loop_data( | void DM_interp_loop_data( | ||||
| DerivedMesh *source, DerivedMesh *dest, | DerivedMesh *source, DerivedMesh *dest, | ||||
| int *src_indices, | int *src_indices, | ||||
| float *weights, int count, int dest_index) | float *weights, int count, int dest_index) | ||||
| { | { | ||||
| CustomData_interp(&source->loopData, &dest->loopData, src_indices, | CustomData_interp(&source->loopData, &dest->loopData, src_indices, | ||||
| ▲ Show 20 Lines • Show All 3,066 Lines • Show Last 20 Lines | |||||