diff options
Diffstat (limited to 'external/libgltf/patches/extern-C.patch')
-rw-r--r-- | external/libgltf/patches/extern-C.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/external/libgltf/patches/extern-C.patch b/external/libgltf/patches/extern-C.patch index fd34f8a815f7..a9eadf6ae18b 100644 --- a/external/libgltf/patches/extern-C.patch +++ b/external/libgltf/patches/extern-C.patch @@ -8,3 +8,13 @@ glm::vec3 gltf_get_model_center_pos();
/*get camera position information*/
extern "C"
+--- libgltf/src/libgltf.cpp ++++ /src/libgltf.cpp +@@ -59,7 +59,6 @@ + return;
+ }
+
+-extern "C"
+ glm::vec3 gltf_get_model_center_pos()
+ {
+ return cameraScene->getModelCenterPos();
|