- 博客(1)
- 收藏
- 关注
转载 只显示CCLayer部分特定区域的方法
- (void) beforeDraw{ glEnable(GL_SCISSOR_TEST); const CGFloat s = [[CCDirector sharedDirector] contentScaleFactor]; const int w = 90, h = 111; glScissor(self.position.x *s + w,
2014-01-06 10:44:02
375
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人