all: canonicalize import paths with mach- prefix

Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
Stephen Gutekanst 2023-09-21 14:36:21 -07:00
parent 26a9392188
commit 52c4eb5d74
6 changed files with 14 additions and 16 deletions

View file

@ -1,7 +1,7 @@
const core = @import("core");
const gpu = @import("core").gpu;
const core = @import("mach-core");
const gpu = @import("mach-core").gpu;
const std = @import("std");
const ecs = @import("ecs");
const ecs = @import("mach-ecs");
var gpa = std.heap.GeneralPurposeAllocator(.{}){};
const allocator = gpa.allocator();

View file

@ -1,7 +1,7 @@
const std = @import("std");
const core = @import("core");
const core = @import("mach-core");
const gpu = core.gpu;
const ecs = @import("ecs");
const ecs = @import("mach-ecs");
const Engine = @import("../engine.zig").Engine;
const mach = @import("../main.zig");

View file

@ -1,8 +1,7 @@
const std = @import("std");
const core = @import("core");
const core = @import("mach-core");
const gpu = core.gpu;
const ecs = @import("ecs");
const ft = @import("freetype");
const ecs = @import("mach-ecs");
const Engine = @import("../engine.zig").Engine;
const FontRenderer = @import("font.zig").FontRenderer;
const mach = @import("../main.zig");

View file

@ -1,5 +1,4 @@
const math = @import("../main.zig").math;
const harfbuzz = @import("mach-harfbuzz");
const std = @import("std");
/// An interface that can render Unicode codepoints into glyphs.

View file

@ -1,4 +1,4 @@
pub const core = @import("core");
pub const core = @import("mach-core");
pub const GPUInterface = core.GPUInterface;
pub const scope_levels = core.scope_levels;
pub const log_level = core.log_level;
@ -6,8 +6,8 @@ pub const Timer = core.Timer;
pub const gpu = core.gpu;
pub const sysjs = @import("sysjs");
pub const ecs = @import("ecs");
pub const sysaudio = @import("sysaudio");
pub const ecs = @import("mach-ecs");
pub const sysaudio = @import("mach-sysaudio");
pub const gfx = @import("gfx/util.zig");
pub const gfx2d = struct {
pub const Sprite2D = @import("gfx2d/Sprite2D.zig");