ebiten/internal/shader/testdata/call_multiple.go
2020-06-08 11:18:27 +09:00

11 lines
146 B
Go

package main
func Foo(x vec2) vec2 {
var xx, yx float = Bar(x.x, x.y)
return vec2(xx, yx)
}
func Bar(x float) (float, float) {
return x, x
}