This commit is contained in:
treeform 2023-02-27 12:59:43 -08:00
parent cd6fd9cfca
commit 5c347516ba

View file

@ -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)