摘要:
GLES20.glUseProgram(mProgram); GLES20.glUniformMatrix4fv(muMVPMatrixHandle, 1, false, MatrixState.getFinalMatrix(), 0); GLES20.glVertexAttribPoint... 阅读全文
摘要:
private void draw5Big(float z,float r,float g,float b,float a){ MatrixState.pushMatrix(); MatrixState.translate(0, 0, z); drawBallColorBig.drawSe... 阅读全文
摘要:
public CP_Na_Cl(float scale,int mProgram) { // TODO Auto-generated constructor stub drawBallColorBig=new DrawBallColor(bigR*scale, mProgram); dra... 阅读全文
摘要:
private void initVertex(float r) { // TODO Auto-generated method stub R=r; ArrayListalVertix=new ArrayList(); for(float vAngle=90;vAngle>-90;vAn... 阅读全文
摘要:
MatrixState: public static void setInitStack()//获取不变换初始矩阵 { currMatrix=new float[16]; Matrix.setRotateM(currMatrix, 0, 0, 1, 0, 0); }... 阅读全文