examples: remove commented out old code in advanced-gen-texture-light

This commit is contained in:
iddev5 2022-05-20 18:39:39 +05:30 committed by Stephen Gutekanst
parent 7bd841a638
commit 58709070dd

View file

@ -33,19 +33,6 @@ const Dir = struct {
};
pub fn init(app: *App, engine: *mach.Engine) !void {
// todo
// engine.core.internal.window.setKeyCallback(struct {
// fn callback(window: glfw.Window, key: glfw.Key, scancode: i32, action: glfw.Action, mods: glfw.Mods) void {
// _ = scancode;
// _ = mods;
// if (action == .press) {
// switch (key) {
// .space => window.setShouldClose(true),
// else => {},
// }
// }
// }
// }.callback);
try engine.core.setSizeLimits(.{ .width = 20, .height = 20 }, .{ .width = null, .height = null });
const eye = vec3(5.0, 7.0, 5.0);