上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 39 下一页
摘要: public void drawSelf(int[] textureId) { GLES20.glDisable(GLES20.GL_DEPTH_TEST); switch (flag) { case 0: drawCube0(textureId); break; case 1:... 阅读全文
posted @ 2015-06-12 11:06 Anzhongliu 阅读(303) 评论(0) 推荐(0) 编辑
摘要: new Thread() { public void run() { while (true) { //星星旋转 angleRotateCelestial += 0.08f;//0.08f if (angleRotateCelestia... 阅读全文
posted @ 2015-06-12 10:46 Anzhongliu 阅读(129) 评论(0) 推荐(0) 编辑
摘要: new Thread() { public void run() { while (true) { rightHelpHandFlag = !rightHelpHandFlag; try { Thread.sleep(600);//600 } catc... 阅读全文
posted @ 2015-06-12 09:38 Anzhongliu 阅读(174) 评论(0) 推荐(0) 编辑
摘要: new Thread() { public void run() { while (true) { try { if (!conditionFlag) { conditionNumIndex = 0; } else { conditi... 阅读全文
posted @ 2015-06-12 09:28 Anzhongliu 阅读(119) 评论(0) 推荐(0) 编辑
摘要: @Override public void onSurfaceCreated(GL10 gl, EGLConfig config) { GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f); MatrixState.setInitStack(); ... 阅读全文
posted @ 2015-06-12 03:08 Anzhongliu 阅读(223) 评论(0) 推荐(0) 编辑
摘要: public void onDrawFrame(GL10 gl) { // TODO Auto-generated method stub GLES20.glClear(GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT); ... 阅读全文
posted @ 2015-06-12 02:30 Anzhongliu 阅读(258) 评论(0) 推荐(0) 编辑
摘要: GLES20.glUseProgram(mProgram); GLES20.glUniformMatrix4fv(muMVPMatrixHandle, 1, false, MatrixState.getFinalMatrix(), 0); GLES20.glVertexAttribPoint... 阅读全文
posted @ 2015-06-11 22:57 Anzhongliu 阅读(275) 评论(0) 推荐(0) 编辑
摘要: private void draw5Big(float z,float r,float g,float b,float a){ MatrixState.pushMatrix(); MatrixState.translate(0, 0, z); drawBallColorBig.drawSe... 阅读全文
posted @ 2015-06-11 21:43 Anzhongliu 阅读(356) 评论(0) 推荐(0) 编辑
摘要: public CP_Na_Cl(float scale,int mProgram) { // TODO Auto-generated constructor stub drawBallColorBig=new DrawBallColor(bigR*scale, mProgram); dra... 阅读全文
posted @ 2015-06-11 13:31 Anzhongliu 阅读(224) 评论(0) 推荐(0) 编辑
摘要: private void initVertex(float r) { // TODO Auto-generated method stub R=r; ArrayListalVertix=new ArrayList(); for(float vAngle=90;vAngle>-90;vAn... 阅读全文
posted @ 2015-06-11 13:20 Anzhongliu 阅读(207) 评论(0) 推荐(0) 编辑
上一页 1 ··· 29 30 31 32 33 34 35 36 37 ··· 39 下一页