0

I want to draw a circular filled region like this using OpenGL version 1.3:

the image

How can I draw such a shape?

genpfault
  • 51,148
  • 11
  • 85
  • 139
iammetehan
  • 11
  • 3
  • 3
    What have you tried so far? My first thought would be to use a loop with sin/cos functions to generate points on a unit circle for the inner ring and points on that circle + some offset for the outer ring, then use these to construct triangles to fill the space in between. Also, please include the image in your question instead of using a link (which will become invalid eventually). – Yun Dec 06 '22 at 10:39

0 Answers0