<br>
I'm doing an old stile 3d game in asm for atari falcon 68030 (just line and point).<br>
I need the fastest way to clip a line.<br>
(not the vector way p(x,y)=a(x,y)+t*u(x,y) because I will need to do a square root)<br>
<br>
when I draw (and first clip) I allready know:<br>
x0,y0 x1,y1<br>
w(line wight),h(line hight)<br>
and d(scale)=min(w,h)/max(w,h)<br>
<br>
clipping zone: x(-160,+160),y(-120,120)<br>
in a -2^15,2^15-1 (signed 16 bit) space<br>
<br>
thx (sorry, learning english...)<br>
<br>
Mutilate[0A]