diff options
author | chai <chaifix@163.com> | 2021-11-04 12:55:25 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2021-11-04 12:55:25 +0800 |
commit | d24f17b88d901b779c81c7434995675eb2a17429 (patch) | |
tree | d8f4cfee93d70598ef4b1419316b30acfff0eb04 /Editor/Scripting/EditorGUI/GUIWindow.bind.cpp | |
parent | 94a9a28de16badb75e66a60efca3b01d31cc0fc6 (diff) |
- Internal::
Diffstat (limited to 'Editor/Scripting/EditorGUI/GUIWindow.bind.cpp')
-rw-r--r-- | Editor/Scripting/EditorGUI/GUIWindow.bind.cpp | 3 |
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); |