http://nutris.net/members/face....canoe9/activity/2146
Table Of Content 【官方學程】《網魚達人3》系列 IV:怎樣打造漩渦殊效12 體育ACE王牌娛樂博彩資訊|常熟籠秀足球 挑戰你的運氣:輪盤遊戲規矩及策略 【官方學程】《網魚達人3》系列 IV:怎樣打造漩渦殊效12 auto visibleSize = Director::getInstance()-getVisibleSize(); //行,列數 int cows = 100; int rows = 100; //每一行,列的頂點位置偏移 float vertexStepX = visibleSize.width/cows; float vertexStepY = visibleSize.height/rows; //第一行,列的紋理坐標偏移 float vStep = 1.0/cows; //頂點,法線,色,紋理的容器 vector
<float>
positions; vector
<float>
normals; for ( unsigned int x = 0; x = cows; ++x ) for ( unsigned int y = 0; y = rows; ++y ) unsigne