mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-11-10 13:07:26 +01:00
b6a340a96f
Updates #2034 Updates #2188
16 lines
279 B
GLSL
16 lines
279 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));
|
|
}
|
|
l2 = vec2(0.0);
|
|
for (float l3 = 10.0; l3 >= 0.0; l3 -= 2.0) {
|
|
(l2).x = ((l2).x) + (float(l3));
|
|
}
|
|
return l0;
|
|
}
|