1
0
mirror of https://github.com/hajimehoshi/ebiten.git synced 2025-01-18 15:02:04 +01:00
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)
}