ebiten/internal/shader/testdata/array.go
2022-04-09 00:02:20 +09:00

15 lines
154 B
Go

package main
var Array [4]vec2
func Foo() [2]vec2 {
var x [2]vec2
return x
}
func Bar() [2]vec2 {
x := [2]vec2{vec2(1)}
x[1] = vec2(2)
return x
}