Update the uniform and draw again. auto tMVP = glm::translate(MVP, glm::vec3(1,0,0)); glUniformMatrix4fv(loc_MVP, 1, GL_FALSE, &tMVP[0][0]); ...
確定! 回上一頁