摘要:
public void drawSelf(int[] textureId) { GLES20.glDisable(GLES20.GL_DEPTH_TEST); switch (flag) { case 0: drawCube0(textureId); break; case 1:... 阅读全文
摘要:
new Thread() { public void run() { while (true) { //星星旋转 angleRotateCelestial += 0.08f;//0.08f if (angleRotateCelestia... 阅读全文
摘要:
new Thread() { public void run() { while (true) { rightHelpHandFlag = !rightHelpHandFlag; try { Thread.sleep(600);//600 } catc... 阅读全文
摘要:
new Thread() { public void run() { while (true) { try { if (!conditionFlag) { conditionNumIndex = 0; } else { conditi... 阅读全文
摘要:
@Override public void onSurfaceCreated(GL10 gl, EGLConfig config) { GLES20.glClearColor(0.0f, 0.0f, 0.0f, 1.0f); MatrixState.setInitStack(); ... 阅读全文
摘要:
public void onDrawFrame(GL10 gl) { // TODO Auto-generated method stub GLES20.glClear(GLES20.GL_DEPTH_BUFFER_BIT | GLES20.GL_COLOR_BUFFER_BIT); ... 阅读全文