mirror of
https://github.com/gwm17/glfw.git
synced 2024-11-23 02:38:52 -05:00
Formatting.
This commit is contained in:
parent
cb35f0ceda
commit
64abfb5ece
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user