ebiten/internal/shader/testdata/const2.go

8 lines
86 B
Go
Raw Normal View History

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