OpenGL ES 3. 非常好用的矩阵操作类
大家好,接下来将为大家介绍OpenGL ES 3. 非常好用的矩阵操作类MatrixState 。 如前述内容所介绍的知识,我们知道OpenGL ES中经常涉及到的矩阵有: a:投影矩阵:mProjMatrix; b:摄像机矩阵:mVMatrix; c:模型加载:currMatrix; 具体的各个函数方法都有详细的注释,直接上代码: import java.nio.ByteBuffer; import android.opengl.Matrix; //存储系统矩阵状态的类 public class MatrixState { private static float[] mProjMatr
下载地址
用户评论