ebiten/internal/shader/testdata/for3.go
2020-08-09 22:26:57 +09:00

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
}