Why is there no circle or ellipse primitive in OpenGL?

前端 未结 5 2255
执念已碎
执念已碎 2021-02-12 16:50

Circles are one of the basics geometric entities. Yet there is no primitives defined in OpenGL for this, like lines or polygons. Why so? It\'s a little annoying to include custo

5条回答
  •  青春惊慌失措
    2021-02-12 17:13

    Because historically, video cards have rendered points, lines, and triangles.

    You calculate curves using short enough lines so the video card doesn't have to.

提交回复
热议问题