fix Matrix.String

This commit is contained in:
faiface 2017-04-04 14:10:39 +02:00
parent 49338251d2
commit b41e117ac6
1 changed files with 3 additions and 3 deletions

View File

@ -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],
)
}