i need program to implement bresenham’s algorithm with all slope values using opengl
OpenGL(R) has line drawing functionallity. Whether Bresenham’s or Xiaolin Wu’s algorithm is used, or whether the line is rendered as two thin triangles depends on the driver.
I can’t thing of a way this task requres OpenGL(R) in any way whatsoever.
Bresenham’s algorithm is idiotically simple to implement. Do your homework yourself.