mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 19:58:54 +01:00
ac16564e95
Fixes #1235
15 lines
156 B
Go
15 lines
156 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].y = vec2(2)
|
|
return x
|
|
}
|