mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
9 lines
103 B
Go
9 lines
103 B
Go
|
package main
|
||
|
|
||
|
func Foo(foo vec2) vec4 {
|
||
|
var r1 float
|
||
|
r1 = 0.0
|
||
|
r1 += 1.0
|
||
|
return vec4(foo, r1, r1)
|
||
|
}
|