safe to remove? i dont seem to need it since its just an alias

This commit is contained in:
Ryan Oldenburg 2020-03-27 10:48:20 -05:00
parent c5bbf9d205
commit 58205cdba9

View file

@ -1070,14 +1070,6 @@ func lookAt*(eye, center, up: Vec3): Mat4 =
result[14] = -(z0*eyex + z1*eyey + z2*eyez)
result[15] = 1
func toFloat32*(m: Mat4): array[16, float32] =
[
float32 m[00], float32 m[01], float32 m[02], float32 m[03],
float32 m[04], float32 m[05], float32 m[06], float32 m[07],
float32 m[08], float32 m[09], float32 m[10], float32 m[11],
float32 m[12], float32 m[13], float32 m[14], float32 m[15]
]
func `$`*(a: Mat4): string =
&"""[{a[0]:.5f}, {a[1]:.5f}, {a[2]:.5f}, {a[3]:.5f},
{a[4]:.5f}, {a[5]:.5f}, {a[6]:.5f}, {a[7]:.5f},