#159 Make namedMatrices an array instead of slice
This commit is contained in:
parent
0a054f35fd
commit
742d1226d8
|
@ -121,7 +121,7 @@ func TestMatrix_Unproject(t *testing.T) {
|
|||
assert.InDelta(t, unprojected.Y, 0, delta)
|
||||
})
|
||||
t.Run("for projected vertices using all kinds of matrices", func(t *testing.T) {
|
||||
namedMatrices := []struct {
|
||||
namedMatrices := [...]struct {
|
||||
name string
|
||||
matrix pixel.Matrix
|
||||
}{
|
||||
|
|
Loading…
Reference in New Issue