2020-07-28 17:57:47 +02:00
|
|
|
package main
|
|
|
|
|
|
|
|
var Array [4]vec2
|
2020-07-29 15:43:49 +02:00
|
|
|
|
|
|
|
func Foo() [2]vec2 {
|
|
|
|
var x [2]vec2
|
|
|
|
return x
|
|
|
|
}
|
2020-07-29 16:25:16 +02:00
|
|
|
|
|
|
|
func Bar() [2]vec2 {
|
|
|
|
x := [2]vec2{vec2(1)}
|
2022-04-08 15:44:37 +02:00
|
|
|
x[1] = vec2(2)
|
2020-07-29 16:25:16 +02:00
|
|
|
return x
|
|
|
|
}
|