From 4a07ed16f311b87d938f406ee1b7ec6b201b8c83 Mon Sep 17 00:00:00 2001
From: Elliot Waite <elliot@elliotwaite.com>
Date: Thu, 17 Dec 2020 14:42:35 -0800
Subject: [PATCH] Fix zx proc

---
 src/vmath.nim | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/vmath.nim b/src/vmath.nim
index 4c0c135..1bdac48 100644
--- a/src/vmath.nim
+++ b/src/vmath.nim
@@ -351,7 +351,7 @@ proc yz*(a: Vec3): Vec2 {.inline.} =
   vec2(a.y, a.z)
 
 proc zx*(a: Vec3): Vec2 {.inline.} =
-  vec2(a.y, a.x)
+  vec2(a.z, a.x)
 
 proc zy*(a: Vec3): Vec2 {.inline.} =
   vec2(a.z, a.y)