Formatting.

This commit is contained in:
Camilla Berglund 2010-10-24 15:40:57 +02:00
parent cb35f0ceda
commit 64abfb5ece

View File

@ -123,8 +123,8 @@ void init_grid(void)
d = sqrt(dx * dx + dy * dy); d = sqrt(dx * dx + dy * dy);
if (d < 0.1 * (double) (GRIDW / 2)) if (d < 0.1 * (double) (GRIDW / 2))
{ {
d = d * 10.0; d = d * 10.0;
p[x][y] = -cos(d * (M_PI / (double)(GRIDW * 4))) * 100.0; p[x][y] = -cos(d * (M_PI / (double)(GRIDW * 4))) * 100.0;
} }
else else
p[x][y] = 0.0; p[x][y] = 0.0;