Liang–Barsky algorithm: Difference between revisions

Content deleted Content added
No edit summary
Line 4:
Consider first the usual parametric form of a straight line:
 
:<math>x = x_0 + ut (x_1 - x_0) = x_0 + t \Delta x\,\!</math>
:<math>y = y_0 + ut (y_1 - y_0) = y_0 + t \Delta y\,\!</math>
 
A point is in the clip window, if