Commits

Michael Ziegler  committed ce04adc

no need to start/stop at (x|0)

  • Participants
  • Parent commits 284bcdb

Comments (0)

Files changed (1)

File myffmpeg/visualizer_example.py

         glColor3f( 0.9, 0.3, 0.2 )
         glLineWidth(3);
         glBegin( GL_LINE_STRIP )
-        glVertex2i( 0, 0 )
         glColor3f( 0.9, 0.3, 0.2 )
         for idx, pnt in enumerate(self.points[1:]):
             glVertex2i( int(idx / float(nbpoints) * self.width), int(pnt * self.height) )
         glColor3f( 0.9, 0.3, 0.2 )
-        glVertex2i( self.width, 0 )
         glEnd()
 
         glutSwapBuffers()