mirror of
https://github.com/NGSolve/netgen.git
synced 2024-12-24 21:10:33 +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++)
|
||||
{
|
||||
geometry2d->GetSplines().Get(i)->GetPoints (20, points);
|
||||
geometry2d->GetSplines().Get(i)->GetPoints (200, points);
|
||||
|
||||
glBegin (GL_LINE_STRIP);
|
||||
for (int j = 0; j < points.Size(); j++)
|
||||
glVertex3d (points[j](0), points[j](1), 0);
|
||||
glEnd();
|
||||
}
|
||||
}
|
||||
|
||||
glColor3f (1, 0, 0);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user