main.cs950 chars39 lines
This function calculates all the points on the line between two points pointA
and pointB
using Bresenham's line algorithm. The returned value is a List of Point
objects. The Point
class represents a point on the Cartesian plane with x
and y
coordinates.
gistlibby LogSnag