Tom Kelliher, CS 320
Due February 13, 2009, at the start of class
x
and y
coordinates of the two endpoints of the
line segment.
MinX
, MaxX
, MinY
, and MaxY
describing
the left, right, bottom, and top edges of the clipping rectangle,
respectively.
Include an explanation describing how your algorithm works.
tetra.c
program on the class home page
as your starting point. In addition to modifying the program by perturbing
the segment midpoints, also make these modifications:
Email your source code to me by the start of class on the 13th.