rename fov to forward

This commit is contained in:
Ryan Oldenburg 2020-04-05 22:41:17 -05:00
parent d74637be9a
commit 5dbd41b638

View file

@ -838,12 +838,12 @@ func `up=`*(a: var Mat4, b: Vec3) =
a[5] = b.y
a[6] = b.z
func fov*(a: Mat4): Vec3 =
func forward*(a: Mat4): Vec3 =
result.x = a[8]
result.y = a[9]
result.z = a[10]
func `fov=`*(a: var Mat4, b: Vec3) =
func `forward=`*(a: var Mat4, b: Vec3) =
a[8] = b.x
a[9] = b.y
a[10] = b.z