摘要:
GLES20.glUseProgram(mProgram); GLES20.glUniformMatrix4fv(muMVPMatrixHandle, 1, false, MatrixState.getFinalMatrix(), 0); GLES20.glVertexAttribPoint... 阅读全文
posted @ 2015-06-11 22:57
Anzhongliu
阅读(280)
评论(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
阅读(361)
评论(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
阅读(231)
评论(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
阅读(215)
评论(0)
推荐(0)
摘要:
MatrixState: public static void setInitStack()//获取不变换初始矩阵 { currMatrix=new float[16]; Matrix.setRotateM(currMatrix, 0, 0, 1, 0, 0); }... 阅读全文
posted @ 2015-06-11 13:02
Anzhongliu
阅读(353)
评论(0)
推荐(0)

浙公网安备 33010602011771号