mirror of
https://github.com/glfw/glfw.git
synced 2024-11-10 00:51:47 +00: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