画椭圆
#include <iostream>
#include<gl\glut.h>
#include<math.h>
//inline int round(const float a)
//{
// return int(a + 0.5);
//}
//semimajor and semiminor axes(轴)
void ellipseMidpoint(int xCenter, int yCenter, int Rx, int Ry)//圆的中心位置,半长轴半短轴
{
int Rx2 = Rx * Rx;
int Ry2 = Ry * Ry;
int twoRx2 = 2 * Rx2;
int twoRy2 = 2 * Ry2;
int p;
int x = 0;
int y = Ry;
int px = 0;
int py = twoRx2 * y;
void ellipsePlotpoints(int, int, int, int);
ellipsePlotpoints(xCenter, yCenter, x, y);
//Region 1
p = round