摘要:
- (void) beforeDraw{ glEnable(GL_SCISSOR_TEST); const CGFloat s = [[CCDirector sharedDirector] contentScaleFactor]; const int w = 90, h = 111; glScissor(self.position.x *s + w, self.position.y * s + h, self.contentSize.width*s - 2*w, self... 阅读全文
posted @ 2012-06-04 22:10 扬名 阅读(710) 评论(0) 推荐(0) 编辑