examples: update glyphs example to use new object system

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2024-12-26 12:35:50 -07:00
parent 2529515cd8
commit fda85f8268
4 changed files with 218 additions and 261 deletions

View file

@ -4,9 +4,8 @@ const mach = @import("mach");
// The set of Mach modules our application may use.
const Modules = mach.Modules(.{
mach.Core,
mach.gfx.sprite_modules,
mach.gfx.Sprite,
@import("App.zig"),
@import("Glyphs.zig"),
});
// TODO: move this to a mach "entrypoint" zig module which handles nuances like WASM requires.