ebiten/internal/shader/testdata/issue1245.go
2020-08-12 13:47:22 +09:00

18 lines
235 B
Go

package main
func Vertex(position vec2) vec4 {
var v vec4
for i := 0.0; i < 4.0; i++ {
v.x += i * 0.01
}
return v
}
func Fragment(position vec4) vec4 {
var v vec4
for i := 0.0; i < 4.0; i++ {
v.x += i * 0.01
}
return v
}