mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-15 07:27:32 +01:00
10 lines
107 B
Go
10 lines
107 B
Go
package main
|
|
|
|
func Foo(x vec2) vec2 {
|
|
v := vec2(0)
|
|
if v := vec2(1); v.x == 1 {
|
|
return v
|
|
}
|
|
return v
|
|
}
|