We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3f28651 commit 60c1151Copy full SHA for 60c1151
libsrc/visualization/mvdraw.cpp
@@ -57,6 +57,13 @@ namespace netgen
57
return opengl_text_width;
58
}
59
60
+ void MyOpenGLLines(FlatArray<Point<3>> points)
61
+ {
62
+ glBegin(GL_LINES);
63
+ for (auto p : points)
64
+ glVertex3dv(&p[0]);
65
+ glEnd();
66
+ }
67
68
// texture for color decoding
69
// GLubyte * VisualScene :: colortexture = NULL;
libsrc/visualization/mvdraw.hpp
@@ -90,6 +90,7 @@ namespace netgen
90
NGGUI_API extern void Set_OpenGLText_Callback ( void (*fun) (const char * text), int width );
91
NGGUI_API extern VisualScene visual_scene_cross;
92
NGGUI_API extern VisualScene *visual_scene;
93
+ NGGUI_API extern void MyOpenGLLines (FlatArray<Point<3>> points);
94
95
96
0 commit comments