[bit.listserv.i-amiga] Clipping

1LENDL@EDVZ.UNI-SALZBURG.ADA.AT (02/14/90)

Hi all !

I'm searching for a *FAST* clipping algorithm, because I'm writing
an animated Vektorgraphic in assembler, and I want to clip all lines
which go out of the screen :

For example :

   Such a line          Should be Clipped to :
         \
   _______\______            ______________
   I       \    I            I       \    I
   I        \   I            I        \   I
   I         \  I            I         \  I
   I          \ I            I          \ I
   ------------\-            --------------
                \
                 \

Any suggestions ?

Please reply directly to me, the I-AMIGA-link to europe is down.

/*****************************************************************************/
/*     Otmar Lendl at the       E-Mail : 1LENDL@EDVZ.UNI-SALZBURG.ADA.AT     */
/*   University of Salzburg       PSI  : PSI%023225629007::1LENDL            */
/*           AUSTRIA          Amiga, 68000 Ass. , C, VAX, M2, ADA, Fractals  */
/* Maybe you have to route : 1lendl%edvz.uni-salzburg.ada.at@CUNYVM.CUNY.EDU */
/*****************************************************************************/