1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-09-18 14:27:39 +03:00

0023095: Porting demo and samples on OCCT 6.5.3

This commit is contained in:
dbv
2012-04-21 13:47:03 +04:00
parent 6076110592
commit cc5ac00dd5
76 changed files with 1824 additions and 2684 deletions

View File

@@ -1810,7 +1810,7 @@ void Application::displayWaves()
di *= -1;
i += di;
}
double rad = -PI / 2.0 + double(i) / (double) nbx * PI;
double rad = -M_PI / 2.0 + double(i) / (double) nbx * M_PI;
double c = cos(rad);
xvalues[ix] = 15.0 * c;
if (xvalues[ix] == 0)