From 5de56f95966352cda588d3c830f73dfaa1c19412 Mon Sep 17 00:00:00 2001 From: Jacques Lucke Date: Mon, 2 Mar 2020 15:07:49 +0100 Subject: Cleanup: make remaining blenkernel headers work in C++ --- source/blender/blenkernel/BKE_kelvinlet.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/blender/blenkernel/BKE_kelvinlet.h') diff --git a/source/blender/blenkernel/BKE_kelvinlet.h b/source/blender/blenkernel/BKE_kelvinlet.h index fbf7d3ede1f..b8290730751 100644 --- a/source/blender/blenkernel/BKE_kelvinlet.h +++ b/source/blender/blenkernel/BKE_kelvinlet.h @@ -25,6 +25,10 @@ #include "BLI_math.h" +#ifdef __cplusplus +extern "C" { +#endif + /* Regularized Kelvinlets: Sculpting Brushes based on Fundamental Solutions of Elasticity * Pixar Technical Memo #17-03 */ @@ -74,4 +78,8 @@ void BKE_kelvinlet_twist(float r_elem_disp[3], const float brush_location[3], const float surface_normal[3]); +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3