OpenGL
桥粑粑
Noob
展开
-
现代OpenGL自学----纹理测试
继续学习OpenGL。#include <iostream> #include <glad\glad.h> #include <GLFW\glfw3.h> #define STB_IMAGE_IMPLEMENTATION #include "stb_image.h" #include <shader.h> using namespace std; //切记 如果2个纹理图片大小不一样 则会出现未知的原创 2017-12-20 14:47:23 · 232 阅读 · 0 评论 -
现代OpenGL自学----坐标变换
#include <iostream> #include <glad\glad.h> #include <GLFW\glfw3.h> #include <glm\glm\glm.hpp> #include <glm\glm\gtc\matrix_transform.hpp> #include <glm\glm\gtc\type_ptr.hpp> #define STB_IMAGE_IMPLEMENT原创 2017-12-21 16:07:27 · 211 阅读 · 0 评论