diff options
Diffstat (limited to 'honey/std.lua')
-rw-r--r-- | honey/std.lua | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/honey/std.lua b/honey/std.lua index d609844..222798c 100644 --- a/honey/std.lua +++ b/honey/std.lua @@ -4,24 +4,15 @@ honey.init = init.init honey.loop = init.loop honey.terminate = init.terminate -nvg = honey.nvg -ode = honey.ode -gl = honey.gl -glfw = honey.glfw +honey.asset = {} +honey.asset.image = require 'honey.asset.image' +honey.asset.mesh = require 'honey.asset.mesh' +honey.asset.shader = require 'honey.asset.shader' honey.ecs = require 'honey.ecs' -honey.mesh = require 'honey.mesh' -honey.shader = require 'honey.shader' -honey.Window = require 'honey.window' - - --- image -local image = require 'honey.image' -for k, v in pairs(image) do - honey.image[k] = v -end +-- glm is so frequently used that we load it globally, not locally local glm = require 'honey.glm' Vec3 = glm.Vec3 Mat4 = glm.Mat4 |