diff options
author | sanine <sanine.not@pm.me> | 2023-05-12 01:16:46 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-05-12 01:16:46 -0500 |
commit | 3275ae4948fd2c1bb8da780214cbb741dc3178be (patch) | |
tree | 69dbf1d5b56896e1212454e5f79daaec1d201ec1 /honey/std.lua | |
parent | 14195dac1eda9140192ca07003258715b8b0abd3 (diff) |
begin refactor
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 |