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 3e50f8c commit 1daf520Copy full SHA for 1daf520
lib/PDL/Graphics/TriD/GL.pm
@@ -86,16 +86,13 @@ sub PDL::Graphics::TriD::CylindricalEquidistantAxes::togl {
86
glColor3d(1,1,1);
87
for(my $j=0;$j<$tverts->getdim(2)-1;$j++){
88
my $j1=$j+1;
89
- glBegin(GL_LINES);
+ glBegin(GL_LINE_STRIP);
90
for(my $i=0;$i<$tverts->getdim(1)-1;$i++){
91
my $i1=$i+1;
92
glVertex2f($tverts->at(0,$i,$j),$tverts->at(1,$i,$j));
93
glVertex2f($tverts->at(0,$i1,$j),$tverts->at(1,$i1,$j));
94
- glVertex2f($tverts->at(0,$i1,$j),$tverts->at(1,$i1,$j));
95
- glVertex2f($tverts->at(0,$i1,$j1),$tverts->at(1,$i1,$j1));
96
glVertex2f($tverts->at(0,$i1,$j1),$tverts->at(1,$i1,$j1));
97
glVertex2f($tverts->at(0,$i,$j1),$tverts->at(1,$i,$j1));
98
- glVertex2f($tverts->at(0,$i,$j1),$tverts->at(1,$i,$j1));
99
100
}
101
glEnd();
0 commit comments