mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-29 13:18:55 +01:00
b6a340a96f
Updates #2034 Updates #2188
22 lines
360 B
GLSL
22 lines
360 B
GLSL
vec2 F0(void);
|
|
|
|
vec2 F0(void) {
|
|
vec2 l0 = vec2(0);
|
|
vec2 l2 = vec2(0);
|
|
l0 = vec2(0.0);
|
|
for (int l1 = 0; l1 < 100; l1++) {
|
|
(l0).x = ((l0).x) + (float(l1));
|
|
if (((l0).x) >= (100.0)) {
|
|
break;
|
|
}
|
|
}
|
|
l2 = vec2(0.0);
|
|
for (float l3 = 10.0; l3 >= 0.0; l3 -= 2.0) {
|
|
if (((l2).x) < (100.0)) {
|
|
continue;
|
|
}
|
|
(l2).x = ((l2).x) + (l3);
|
|
}
|
|
return l0;
|
|
}
|