Line Drawing Algorithms in Computer Graphics
Now, there are various ways for drawing lines in OpenGL, I will be using the classical algorithms - Digital Differential Analyzer (DDA) and Bresenham Line Drawing Algorithms.
Digital Differential Analyzer (DDA) Line Drawing Algorithm
#include <iostre...
satviksrivastava.hashnode.dev2 min read