diff options
author | sanine <sanine.not@pm.me> | 2023-03-29 00:01:54 -0500 |
---|---|---|
committer | sanine <sanine.not@pm.me> | 2023-03-29 00:01:54 -0500 |
commit | 5a93fb6f6a8fb6f1dad821b407b4f4531bc23783 (patch) | |
tree | d7b7fb60868e2381bdd14efa357188ba3a27b804 /honey/std.lua | |
parent | 45dbe47d17303050cbea7c2c51e838acfe21c2fb (diff) |
add image caching
Diffstat (limited to 'honey/std.lua')
-rw-r--r-- | honey/std.lua | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/honey/std.lua b/honey/std.lua index 2a5d2c2..98e942d 100644 --- a/honey/std.lua +++ b/honey/std.lua @@ -7,10 +7,17 @@ honey.terminate = init.terminate honey.ecs = require 'honey.ecs' --honey.standardSystems = require 'honey.ecs-systems' honey.mesh = require 'honey.mesh' -honey.Shader = require 'honey.shader' +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 + + local glm = require 'honey.glm' honey.Vec3 = glm.Vec3 honey.Mat4 = glm.Mat4 |