Skip to content

this is a study project about opengl with visual studio on the website learnopengl cn

Notifications You must be signed in to change notification settings

mudimingquedeyinmoujia/learnopengl_cn

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

learnopengl_cn

此项目基于visual studio,学习opengl而构建,学习网址为 https://learnopengl-cn.github.io/ . 依赖glfw库与glad库

set up for the project

1. 新建一个空项目

2. 设置项目include与lib要读取的路径

avatar

avatar

3. 设置链接的时候的文件路径 (.lib 文件)

avatar

4. 把官方提供的 glad.c 文件复制进项目,以便于 glad.h 文件所调用

5. 运行 hello.cpp 即可绘制窗口

6. 要运行不同的章节文件,由于有多个 main函数 文件, 在 visual studio 里面选择从项目中排除其它带 main函数 的文件即可

About

this is a study project about opengl with visual studio on the website learnopengl cn

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages