From 5c347516baf44675854b6517bdfdd1a39ef62986 Mon Sep 17 00:00:00 2001 From: treeform Date: Mon, 27 Feb 2023 12:59:43 -0800 Subject: [PATCH] fix --- src/vmath.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/vmath.nim b/src/vmath.nim index cf9605e..85c9320 100644 --- a/src/vmath.nim +++ b/src/vmath.nim @@ -1346,7 +1346,7 @@ proc lookAt*[T](eye, center, up: GVec3[T]): GMat4[T] = centerz = center[2] if eyex == centerx and eyey == centery and eyez == centerz: - return GMat4[T]() + return var # vec3.direction(eye, center, z)