mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-27 20:28:54 +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
|
|
}
|