mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-14 15:07:26 +01:00
15fe7158fd
Closes #1972
15 lines
154 B
Go
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
|
|
}
|