因为3D变换是4×4,因此mat4是GLSL着色器统一中常用的数据类型。 ... projLoc; int width, height; float aspect; glm::mat4 pMat, vMat, mMat, mvMat; ...
確定! 回上一頁