mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-14 15:07:26 +01:00
16 lines
186 B
Go
16 lines
186 B
Go
|
package main
|
||
|
|
||
|
func Foo() vec2 {
|
||
|
v := vec2(0)
|
||
|
for i := 0; i < 100; i++ {
|
||
|
v2 := vec2(0)
|
||
|
v = v2
|
||
|
}
|
||
|
v3 := vec2(0)
|
||
|
for i := 0; i < 100; i++ {
|
||
|
v4 := vec2(0)
|
||
|
v3 = v4
|
||
|
}
|
||
|
return v
|
||
|
}
|