mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-15 07:27:32 +01:00
23 lines
233 B
Go
23 lines
233 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
|
|
}
|
|
var bar vec3
|
|
{
|
|
r.y = foo.y
|
|
var foo vec4
|
|
r.z = bar.z
|
|
_ = foo
|
|
}
|
|
}
|
|
return r
|
|
}
|