IF C C Cut all the triangles generated so far into pieces, using planes that C cut the data box into NLYR slices perpendicular to the vertical axis. C given that, the eye position. IF C C Order the triangles in the triangle list. IF C C Draw labels for the axes. C C Draw the sides of the box that could be hidden.
C C Draw the triangles in the triangle list.
C C Draw the sides of the box that could not be hidden. IF C C Advance the frame.