ebiten/internal/shader/testdata/const.go

9 lines
85 B
Go
Raw Normal View History

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