1
0
mirror of https://github.com/hajimehoshi/ebiten.git synced 2025-01-16 22:12:02 +01:00
ebiten/internal/shader/testdata/array.go

15 lines
156 B
Go
Raw Normal View History

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)}
2020-07-29 16:49:39 +02:00
x[1].y = vec2(2)
return x
}