ニュース

So I'm taking a computer graphics course in openGL right now, and for the first lab we are to among other things implement three line drawing routines. First off a normal DDA algorithm, that's easy..
points.push_back({1, {xc + x, yc + y}}); // Octant 1 points.push_back({2, {xc - x, yc + y}}); // Octant 2 points.push_back({3, {xc + x, yc - y}}); // Octant 3 points ...