mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-26 03:38:55 +01:00
d110716dc0
Closes #1950
23 lines
381 B
GLSL
23 lines
381 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));
|
|
if (((l1).x) >= (100.0)) {
|
|
break;
|
|
}
|
|
}
|
|
l3 = vec2(0.0);
|
|
for (float l4 = 10.0; l4 >= 0.0; l4 -= 2.0) {
|
|
if (((l3).x) < (100.0)) {
|
|
continue;
|
|
}
|
|
(l3).x = ((l3).x) + (l4);
|
|
}
|
|
l0 = l1;
|
|
return;
|
|
}
|