Cleanup: Move customdata.c to C++

Differential Revision: https://developer.blender.org/D13666
This commit is contained in:
Hans Goudey 2021-12-25 14:28:22 -06:00
parent f7ddb1ed8a
commit 85abac7e87
3 changed files with 514 additions and 461 deletions

View File

@ -126,7 +126,7 @@ set(SRC
intern/curve_eval.cc
intern/curve_to_mesh_convert.cc
intern/curveprofile.cc
intern/customdata.c
intern/customdata.cc
intern/customdata_file.c
intern/data_transfer.c
intern/deform.c

View File

@ -25,6 +25,10 @@
#include "BKE_customdata.h" /* For cd_datatransfer_interp */
#ifdef __cplusplus
extern "C" {
#endif
struct CustomData;
struct CustomDataTransferLayerMap;
struct ListBase;
@ -78,3 +82,7 @@ void customdata_data_transfer_interp_normal_normals(const CustomDataTransferLaye
const float *weights,
const int count,
const float mix_factor);
#ifdef __cplusplus
}
#endif