ebiten/internal/shader/testdata/const2.go
2021-04-09 00:00:49 +09:00

8 lines
86 B
Go

package main
func Foo() vec2 {
const a = 1
const b = a + 2 + 0.5
return vec2(b)
}