Hi, your correct, there is no support for circles, however this might help you...it doesnt work perfectly for me...but have a play
Code:
void GLDrawEllipse (int segments, CGFloat width, CGFloat height, CGPoint center, bool filled)
{
GLshort vertices[64];
int count=0;
for (GLshort i = 0; i < 360; i+=(360/32))
{
vertices[count++] = (cos(degreesToRadian(i))*32);
vertices[count++] = (sin(degreesToRadian(i))*32);
}
glVertexPointer (2, GL_SHORT , 0, vertices);
glDrawArrays ((filled) ? GL_TRIANGLE_FAN : GL_LINE_LOOP, 0, 32);
}
-(void)GLDrawCircle:(int)circleSegments circleSize:(CGFloat*)circleSize center:(CGPoint*)center
{
GLDrawEllipse(circleSegments, *circleSize, *circleSize, *center, FALSE);
}
btw this code has been hacked about.....A LOT