xgcp.net
当前位置:首页 >> glEs20.gl strip >>

glEs20.gl strip

public void onSurfaceChanged(GL10 gl, int width, int height) { //设置视窗大小及位置 GLES20.glViewport(0, 0, width, height); //计算GLSurfaceView的宽高比 float ratio = (float) width / height; //调用此方法计算产生透视投影矩阵 Matr...

0.0

网站首页 | 网站地图
All rights reserved Powered by www.xgcp.net
copyright ©right 2010-2021。
内容来自网络,如有侵犯请联系客服。zhit325@qq.com