ebiten/internal/shader/testdata/if_init.go
2020-07-05 04:08:57 +09:00

10 lines
101 B
Go

package main
func Foo() vec2 {
v := vec2(0)
if v := vec2(1); v.x == 1 {
return v
}
return v
}