mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 13:07:26 +01:00
21 lines
207 B
Go
21 lines
207 B
Go
|
package main
|
||
|
|
||
|
func Foo(foo vec2) vec4 {
|
||
|
var r vec4
|
||
|
{
|
||
|
r.x = foo.x
|
||
|
var foo vec3
|
||
|
{
|
||
|
r.y = foo.y
|
||
|
var foo vec4
|
||
|
r.z = foo.z
|
||
|
}
|
||
|
{
|
||
|
r.y = foo.y
|
||
|
var foo vec4
|
||
|
r.z = foo.z
|
||
|
}
|
||
|
}
|
||
|
return r
|
||
|
}
|