mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-27 20:28:54 +01:00
28 lines
275 B
Go
28 lines
275 B
Go
|
package main
|
||
|
|
||
|
func Ret1() float {
|
||
|
var a float
|
||
|
{
|
||
|
a = 0
|
||
|
}
|
||
|
return a
|
||
|
}
|
||
|
|
||
|
func Ret2() (float, vec2) {
|
||
|
var a float
|
||
|
var b vec2
|
||
|
{
|
||
|
a, b = 0, vec2(0)
|
||
|
}
|
||
|
return a, b
|
||
|
}
|
||
|
|
||
|
func Ret2Plus(foo bool) (float, vec2) {
|
||
|
var a float
|
||
|
var b vec2
|
||
|
{
|
||
|
a, b = 0, vec2(0)
|
||
|
}
|
||
|
return a, b
|
||
|
}
|