mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-14 15:07:26 +01:00
9 lines
127 B
Go
9 lines
127 B
Go
|
package main
|
||
|
|
||
|
func Foo(foo vec2) vec4 {
|
||
|
var bar1 vec4 = vec4(foo, 0, 1)
|
||
|
bar1.x = bar1.x
|
||
|
var bar2 vec4 = bar1
|
||
|
return bar2
|
||
|
}
|