1
0
mirror of https://github.com/hajimehoshi/ebiten.git synced 2025-01-14 21:12:03 +01:00
ebiten/internal/shader/testdata/if_else.go

11 lines
100 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)
} else {
return vec2(1)
}
}