From b41e117ac69eaea7bc9cb18213a47d8d89116a69 Mon Sep 17 00:00:00 2001 From: faiface Date: Tue, 4 Apr 2017 14:10:39 +0200 Subject: [PATCH] fix Matrix.String --- geometry.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/geometry.go b/geometry.go index 160fee8..b912d16 100644 --- a/geometry.go +++ b/geometry.go @@ -294,9 +294,9 @@ var IM = Matrix(mgl64.Ident3()) func (m Matrix) String() string { return fmt.Sprintf( "Matrix(%v %v %v | %v %v %v | %v %v %v)", - m[0], m[1], m[2], - m[3], m[4], m[5], - m[6], m[7], m[8], + m[0], m[3], m[6], + m[1], m[4], m[7], + m[2], m[5], m[8], ) }