ebiten/internal/shader/testdata/call_multiple.go

11 lines
141 B
Go
Raw Normal View History

2020-06-08 04:18:27 +02:00
package main
func Foo(x vec2) vec2 {
var xx, yx float = Bar(x.x)
2020-06-08 04:18:27 +02:00
return vec2(xx, yx)
}
func Bar(x float) (float, float) {
return x, x
}