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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user