Cohen-Sutherland & Liang-Barsky直线裁剪算法 2020-5-29 22:27 | 32| 0| 欢迎 14 字| 几秒读完 两个直线裁剪算法的OpenGL实现 if 0 //Cohen-Sutherland include include define PI 3.14159 define Xleft 100 define Xright 400 define Yup 400 define Ydown 100 void init() { // 设置背景色为白色 不透明度为0…