how to rasterize rotated rectangle (in 2d by setpixel)
To fill your rectangle handle it as closed convex polygon (almost the same as triangle filling) order your points to match winding rule so there are lines AB BC CD DA or reverse create left and right buffer address is y-coordinate, its an array of x-positions and if needed also array of color,texture coordinates,…. for … Read more