渲染的一些代码
摘要:
/*** draw will be called fps*/-(void) draw {glDisable(GL_TEXTURE_2D);glDisableClientState(GL_TEXTURE_COORD_ARRAY); [_renderdrawOpenGLBackground]; glDisableClientState(GL_COLOR_ARRAY); /**画的时候也要体现出一个层次感来~ */ [_renderdrawOneColorBackground]; //背景~ _world->DrawDebugData(); // debugDraw(因为包含更多,所以放在.. 阅读全文