我会与有方言的phone们玩 playing,看着伟大!
But i want to for each update draw another circle on screen, this lowers the framerate very fast! Can i draw multiple primitives a somewhat faster way?
这是目前我们的准则。
-(void) draw
{
glLineWidth(1);
glColor4ub(100,100,255,0);
float angle = 0;
float radius = 10.0f;
int numSegments = 10;
bool drawLineToCenter = NO;
NSInteger point;
for (point=0;point < [points count];point++)
{
ccDrawCircle([[points objectAtIndex:point] CGPointValue], radius, angle, numSegments, drawLineToCenter);
}
}