From 5a93fb6f6a8fb6f1dad821b407b4f4531bc23783 Mon Sep 17 00:00:00 2001 From: sanine <sanine.not@pm.me> Date: Wed, 29 Mar 2023 00:01:54 -0500 Subject: add image caching --- honey/std.lua | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'honey/std.lua') 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 -- cgit v1.2.1