mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-14 15:07:26 +01:00
d110716dc0
Closes #1950
17 lines
300 B
GLSL
17 lines
300 B
GLSL
void F0(out vec2 l0);
|
|
|
|
void F0(out vec2 l0) {
|
|
vec2 l1 = vec2(0);
|
|
vec2 l3 = vec2(0);
|
|
l1 = vec2(0.0);
|
|
for (int l2 = 0; l2 < 100; l2++) {
|
|
(l1).x = ((l1).x) + (float(l2));
|
|
}
|
|
l3 = vec2(0.0);
|
|
for (float l4 = 10.0; l4 >= 0.0; l4 -= 2.0) {
|
|
(l3).x = ((l3).x) + (float(l4));
|
|
}
|
|
l0 = l1;
|
|
return;
|
|
}
|