mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-27 04:08:53 +01:00
22 lines
222 B
Go
22 lines
222 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
|
|
}
|
|
}
|
|
return r
|
|
}
|