From f2f6df9f7b4f98ccc7c4534a9f7efa5d65144531 Mon Sep 17 00:00:00 2001 From: Stephen Gutekanst Date: Mon, 4 Sep 2023 17:04:30 -0700 Subject: [PATCH] all: fix the build Signed-off-by: Stephen Gutekanst --- src/gfx2d/Sprite2D.zig | 2 +- src/math/mat.zig | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gfx2d/Sprite2D.zig b/src/gfx2d/Sprite2D.zig index bc8175f8..1629a4d2 100644 --- a/src/gfx2d/Sprite2D.zig +++ b/src/gfx2d/Sprite2D.zig @@ -5,7 +5,7 @@ const ecs = @import("ecs"); const Engine = @import("../engine.zig").Engine; const mach = @import("../main.zig"); -const math = @import("../math.zig"); +const math = mach.math; const mat = math.mat; const Vec2 = math.Vec2; const Vec3 = math.Vec3; diff --git a/src/math/mat.zig b/src/math/mat.zig index ec304990..9d5a73fb 100644 --- a/src/math/mat.zig +++ b/src/math/mat.zig @@ -377,7 +377,7 @@ test "mat4x4_ident" { math.Vec4.init(1, 0, 0, 0), math.Vec4.init(0, 1, 0, 0), math.Vec4.init(0, 0, 1, 0), - math.Vec4.init(0, 0, 1, 1), + math.Vec4.init(0, 0, 0, 1), }, }); }