summaryrefslogtreecommitdiff
path: root/Data/Scripts/EditorApplication.lua
diff options
context:
space:
mode:
Diffstat (limited to 'Data/Scripts/EditorApplication.lua')
-rw-r--r--Data/Scripts/EditorApplication.lua17
1 files changed, 0 insertions, 17 deletions
diff --git a/Data/Scripts/EditorApplication.lua b/Data/Scripts/EditorApplication.lua
index 535136b..0576994 100644
--- a/Data/Scripts/EditorApplication.lua
+++ b/Data/Scripts/EditorApplication.lua
@@ -29,23 +29,12 @@ guiWindow:SetPosition({0,0, 400, 400})
collectgarbage()
-Debug.Log(GameLab.Path.GetRootDirectory())
-
-Debug.Log(inspect{foo=1,2,3,4})
-
local wnd = AssetBrowser.New()
-Debug.Log(inspect(mainWindow._type))
guiWindow:SetInstance(wnd)
local v = GameLab.Engine.Math.Vector4.New(1,2,3,4)
-Debug.Log(inspect(v))
-
-Debug.Log(EditorWindowManager.name)
local c = Engine.Rendering.Color.New(1,1,1,1)
-Debug.Log(inspect(c))
-
-Debug.Log(inspect(GL.EBufferType))
GL.ClearColor({1,1,1,1})
GL.Clear(GL.EBufferType.ColorBuffer)
@@ -62,13 +51,7 @@ local files = {
"README.txt",
}
-GameLab.IO.ReadFilesAsync(files, function()
- Debug.Log("finished")
-end)
-
local imgData = Engine.Resource.LoadImageData("./Resources/Images/brickwall.jpg")
-Debug.Log(tostring(imgData:GetWidth()))
-Debug.Log(tostring(imgData:GetHeight()))
local tex = Engine.Resource.LoadTexture("./Resources/Images/brickwall.jpg")