fix
This commit is contained in:
parent
cd6fd9cfca
commit
5c347516ba
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue