Bresenham's Algorithm for 3-D Line Drawing
Given two 3-D co-ordinates we need to find the points on the line joining them. All points have integer co-ordinates. Examples: Input : (-1, 1, 1), (5, 3, -1) Output : (-1, 1, 1), (0, 1, 1), (1, 2, 0), (2, 2, 0), (3, 2, 0), (4, 3, -1), (5, 3, -1) Input : (-7, 0, -3), (2, -5, -1) Output : (-7, 0, -3)