ebiten/internal/shader/testdata/if_else.go

11 lines
100 B
Go
Raw Permalink Normal View History

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