【我的Android进阶之旅】关于OpenGL ES 2.0 中 Matrix.setLookAtM()参数的详细解说

@Override public void onSurfaceChanged(GL10 gl, int width, int height) { //计算宽高比 float ratio=(float)width/height; //设置透视投影 Matrix.frustumM(mProjectMatrix, 0, -ratio
相关文章
相关标签/搜索