且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

OpenGL 线宽

更新时间:2023-10-28 19:15:58

您可以尝试绘制四边形.使其宽度与您希望的线条一样长,高度与所需的线条宽度相同,然后旋转并将其定位到线条所在的位置.

You could try drawing a quad. Make it as wide as you want your line to be long, and tall as the line width you need, then rotate and position it where the line would go.