I need to use OpenGL in Java (JOGL library) to draw this figure:
Known x
. "To spoil" the area under this shape is impossible I don’t know OpenGL at all, for every step I’m watching a tutorial or google. But I can not find it. It is even incomprehensible to me, it is necessary to consider it as part of a circle (this is not a sector, but what is it called then?) Or as an area bounded by a straight line and a curve.
PS If you know the answer to Objective Pascal or C ++, write too. There all methods are the same, just wrapped in Java.