From 1aecfc1061ebeda3b3bb4d6c3e296e37052e8903 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Thu, 18 Aug 2022 11:42:32 -0700 Subject: [PATCH] math style --- src/math.zig | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/math.zig b/src/math.zig index a5d526578..000aa97df 100644 --- a/src/math.zig +++ b/src/math.zig @@ -1,8 +1,8 @@ -pub const F32x4 = @Vector(4, f32); - /// Matrix type pub const Mat = [4]F32x4; +pub const F32x4 = @Vector(4, f32); +/// 2D orthographic projection matrix pub fn ortho2d(left: f32, right: f32, bottom: f32, top: f32) Mat { const w = right - left; const h = top - bottom;