mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-15 07:27:32 +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
|
|
}
|