Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
treeform committed Feb 27, 2023
1 parent cd6fd9c commit 5c34751
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vmath.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 5c34751

Please sign in to comment.