Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <jacques@blender.org>2020-03-02 17:07:49 +0300
committerJacques Lucke <jacques@blender.org>2020-03-02 17:07:49 +0300
commit5de56f95966352cda588d3c830f73dfaa1c19412 (patch)
tree5f71cd37d5ebc1dbe69ef5df4b365c3e6df95b00 /source/blender/blenkernel/BKE_kelvinlet.h
parentcf93b65a65f948d4014d3fd2f7541ffe1b2209d4 (diff)
Cleanup: make remaining blenkernel headers work in C++
Diffstat (limited to 'source/blender/blenkernel/BKE_kelvinlet.h')
-rw-r--r--source/blender/blenkernel/BKE_kelvinlet.h8
1 files changed, 8 insertions, 0 deletions
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