摘要: 1 int width, height; 2 glfwGetFramebufferSize(window, &width, &height); 3 const float ratio = width / (float) height; 4 5 glViewport(0, 0, width, heig 阅读全文
posted @ 2022-04-25 14:15 浪浪辛 阅读(201) 评论(0) 推荐(0)