summaryrefslogtreecommitdiff
path: root/external/libgltf/patches/extern-C.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/libgltf/patches/extern-C.patch')
-rw-r--r--external/libgltf/patches/extern-C.patch10
1 files changed, 10 insertions, 0 deletions
diff --git a/external/libgltf/patches/extern-C.patch b/external/libgltf/patches/extern-C.patch
new file mode 100644
index 000000000000..fd34f8a815f7
--- /dev/null
+++ b/external/libgltf/patches/extern-C.patch
@@ -0,0 +1,10 @@
+--- libgltf/inc/libgltf.h
++++ libgltf/inc/libgltf.h
+@@ -48,7 +48,6 @@
+ void gltf_get_camera_pos(glm::vec3 *pos,glm::vec3 *view,glm::vec3 *up);
+
+ /*get model center position information*/
+-extern "C"
+ glm::vec3 gltf_get_model_center_pos();
+ /*get camera position information*/
+ extern "C"