摘要:
#include <GLFW/glfw3.h> int main(void) { GLFWwindow* window; /* Initialize the library */ if (!glfwInit()) return -1; /* Create a windowed mode window 阅读全文
摘要:
#include <GLFW/glfw3.h> int main(void) { GLFWwindow* window; /* Initialize the library */ if (!glfwInit()) return -1; /* Create a windowed mode window 阅读全文
摘要:
#include <iostream> #include<GLFW/glfw3.h> using namespace std; int main() { //初始化GLFW的基本环境 glfwInit(); glfwWindowHint(GLFW_CONTEXT_VERSION_MAJOR,4); 阅读全文