mirror of
https://github.com/NGSolve/netgen.git
synced 2025-01-11 21:50:34 +05:00
more points for displaying splines
This commit is contained in:
parent
36a7a2a471
commit
6988af4222
@ -56,13 +56,13 @@ namespace netgen
|
|||||||
|
|
||||||
for (int i = 1; i <= geometry2d->GetSplines().Size(); i++)
|
for (int i = 1; i <= geometry2d->GetSplines().Size(); i++)
|
||||||
{
|
{
|
||||||
geometry2d->GetSplines().Get(i)->GetPoints (20, points);
|
geometry2d->GetSplines().Get(i)->GetPoints (200, points);
|
||||||
|
|
||||||
glBegin (GL_LINE_STRIP);
|
glBegin (GL_LINE_STRIP);
|
||||||
for (int j = 0; j < points.Size(); j++)
|
for (int j = 0; j < points.Size(); j++)
|
||||||
glVertex3d (points[j](0), points[j](1), 0);
|
glVertex3d (points[j](0), points[j](1), 0);
|
||||||
glEnd();
|
glEnd();
|
||||||
}
|
}
|
||||||
|
|
||||||
glColor3f (1, 0, 0);
|
glColor3f (1, 0, 0);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user