Given a two points with the following structure:

struct

{

float fx, fy, fz; /* 3D coordinate */

int sx, sy; /* projected 2D corrdinate */

P1, P2;Quote:}

How can I I draw a line between the the points, using multiple segments,

each one colored according to the value of 'z' at that point?

--

Alan McFarlane