ebiten/internal/shader/testdata/if.go

10 lines
89 B
Go
Raw Normal View History

2020-07-04 15:49:29 +02:00
package main
func Foo() vec2 {
x := true
if x {
return vec2(0)
}
return vec2(1)
}