cocos2d-x 实心圆

找到项目libcocos2d->draw_nodes->CCDrawingPrimitives.cpp将

glDrawArrays(GL_LINE_STRIP, 0, (GLsizei) segments+additionalSegment);

改为glDrawArrays(GL_TRIANGLE_FAN, 0, (GLsizei) segments+additionalSegment);就能实现实心圆。

posted @ 2014-09-24 16:01  猿走天下  阅读(164)  评论(0编辑  收藏  举报