X-Git-Url: https://deadsoftware.ru/gitweb?p=netwar.git;a=blobdiff_plain;f=netwar.c;h=e18438e8a650fd59003429dea65e3ba3ea91c6cc;hp=b7c2222b212be1a1511e8a0af5167770053ab1a6;hb=20f7a88083b2bbaca64d860c6ecbf9059a70100a;hpb=9648667f6005a60d828b18661a565a64eb5713da diff --git a/netwar.c b/netwar.c index b7c2222..e18438e 100644 --- a/netwar.c +++ b/netwar.c @@ -117,8 +117,8 @@ static void paintwindow() { SDL_SetRenderDrawColor(renderer, 0x00, 0xFF, 0xFF, 0x00); static float start_r; - for(int i = 0; i < STAR_SIZE * 200; i++) - paintmodel(star, sizeof(star), 0, 0, M_PI / i + start_r, STAR_SIZE, cx, cy); + for(int i = 0; i < STAR_SIZE * 150; i++) + paintmodel(star, sizeof(star), 0, 0, start_r + i * M_PI, STAR_SIZE, cx, cy); start_r += 0.0001;