summaryrefslogtreecommitdiff
path: root/modules/gdnative
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2022-02-20 11:35:33 +0100
committerGitHub <noreply@github.com>2022-02-20 11:35:33 +0100
commit279f105246673c840e52cad8124f2add760e4d83 (patch)
treed85610551b11eaa417f1ded95b31a89a464b94e0 /modules/gdnative
parent89ca0a1325f9652bd3ae913b1a58594d212c3e22 (diff)
parente031aa06ee37fb9bdaab63fdb2f0dabebcdbd3c2 (diff)
Merge pull request #58321 from akien-mga/vector3-forward-declares
Diffstat (limited to 'modules/gdnative')
-rw-r--r--modules/gdnative/gdnative/aabb.cpp1
-rw-r--r--modules/gdnative/gdnative/plane.cpp1
-rw-r--r--modules/gdnative/gdnative/vector3.cpp2
3 files changed, 4 insertions, 0 deletions
diff --git a/modules/gdnative/gdnative/aabb.cpp b/modules/gdnative/gdnative/aabb.cpp
index 82aa7215b2..b8909433cc 100644
--- a/modules/gdnative/gdnative/aabb.cpp
+++ b/modules/gdnative/gdnative/aabb.cpp
@@ -31,6 +31,7 @@
#include "gdnative/aabb.h"
#include "core/math/aabb.h"
+#include "core/os/memory.h"
static_assert(sizeof(godot_aabb) == sizeof(AABB), "AABB size mismatch");
diff --git a/modules/gdnative/gdnative/plane.cpp b/modules/gdnative/gdnative/plane.cpp
index 9ac5cfb3b7..41fa0da5db 100644
--- a/modules/gdnative/gdnative/plane.cpp
+++ b/modules/gdnative/gdnative/plane.cpp
@@ -31,6 +31,7 @@
#include "gdnative/plane.h"
#include "core/math/plane.h"
+#include "core/os/memory.h"
static_assert(sizeof(godot_plane) == sizeof(Plane), "Plane size mismatch");
diff --git a/modules/gdnative/gdnative/vector3.cpp b/modules/gdnative/gdnative/vector3.cpp
index 26e94d7e5c..37c88c3cca 100644
--- a/modules/gdnative/gdnative/vector3.cpp
+++ b/modules/gdnative/gdnative/vector3.cpp
@@ -31,6 +31,8 @@
#include "gdnative/vector3.h"
#include "core/math/vector3.h"
+#include "core/math/vector3i.h"
+#include "core/os/memory.h"
static_assert(sizeof(godot_vector3) == sizeof(Vector3), "Vector3 size mismatch");
static_assert(sizeof(godot_vector3i) == sizeof(Vector3i), "Vector3i size mismatch");