From 58205cdba9f9db9f69841061192672c73ef4eb54 Mon Sep 17 00:00:00 2001 From: Ryan Oldenburg Date: Fri, 27 Mar 2020 10:48:20 -0500 Subject: [PATCH] safe to remove? i dont seem to need it since its just an alias --- src/vmath.nim | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/vmath.nim b/src/vmath.nim index 30667e1..86d4a32 100644 --- a/src/vmath.nim +++ b/src/vmath.nim @@ -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},