mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-15 23:47:26 +01:00
11 lines
146 B
Go
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
|
||
|
}
|