Liang–Barsky algorithm: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 12:
:<math>y_{\text{min}} \le y_0 + t \Delta y \le y_{\text{max}}\,\!</math>,
which can be expressed as the 4 inequalities
:<math>t p_i \le q_kq_i, \quad i = 1, 2, 3, 4\,\!</math>,
where