View Single Post
Old 10-16-2004, 02:31 PM   #7 (permalink)
Valmont
[code][/code] enforcer
 
Valmont's Avatar
 
Join Date: Mar 2003
Location: Netherlands
Posts: 1,544
Valmont is on a distinguished road
Yes, but using only "integer math".
And then repeating it since there is a line. All points on the line need to be calculated. Finding the closest point is the pixel on the screen drawn.
__________________
Valmont is offline   Reply With Quote