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)