From 6988af422203ab318a83277f93bef7da91e9ea7c Mon Sep 17 00:00:00 2001 From: Gerhard Kitzler Date: Mon, 29 Oct 2012 17:50:16 +0000 Subject: [PATCH] more points for displaying splines --- libsrc/geom2d/vsgeom2d.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libsrc/geom2d/vsgeom2d.cpp b/libsrc/geom2d/vsgeom2d.cpp index 6d108145..2ab2d066 100644 --- a/libsrc/geom2d/vsgeom2d.cpp +++ b/libsrc/geom2d/vsgeom2d.cpp @@ -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);