ebiten/internal/shader/testdata/assign_multiple.go

12 lines
146 B
Go
Raw Permalink Normal View History

2020-06-10 15:25:40 +02:00
package main
func Foo(foo vec2) vec4 {
var r1, r2 float
r1, r2 = Bar()
2020-06-11 15:52:18 +02:00
return vec4(foo, r1, r2)
2020-06-10 15:25:40 +02:00
}
func Bar() (float, float) {
return 0, 0
}