summaryrefslogtreecommitdiff
path: root/Editor/Scripting/EditorGUI/GUIWindow.bind.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Editor/Scripting/EditorGUI/GUIWindow.bind.cpp')
-rw-r--r--Editor/Scripting/EditorGUI/GUIWindow.bind.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Editor/Scripting/EditorGUI/GUIWindow.bind.cpp b/Editor/Scripting/EditorGUI/GUIWindow.bind.cpp
index 7e31da5..dbb26f4 100644
--- a/Editor/Scripting/EditorGUI/GUIWindow.bind.cpp
+++ b/Editor/Scripting/EditorGUI/GUIWindow.bind.cpp
@@ -1,4 +1,5 @@
#include "Editor/GUI/EditorWindows.h"
+#include "Runtime/Math/Math.h"
LUA_BIND_REGISTRY(GUIWindow)
{
@@ -62,7 +63,7 @@ LUA_BIND_IMPL_METHOD(GUIWindow, _SetPosition)
if (!state.CheckParams(1, "UT"))
return 0;
- Internal::Rect rect;
+ Rect rect;
rect.x = state.GetField<float>(2, 1, 0);
rect.y = state.GetField<float>(2, 2, 0);
rect.width = state.GetField<float>(2, 3, 0);