https://github.com/fastshift/opengl-template
OpenGL Template Project
https://github.com/fastshift/opengl-template
Last synced: about 1 year ago
JSON representation
OpenGL Template Project
- Host: GitHub
- URL: https://github.com/fastshift/opengl-template
- Owner: FASTSHIFT
- License: mit
- Created: 2024-04-02T08:20:17.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-02T09:08:08.000Z (about 2 years ago)
- Last Synced: 2025-02-08T21:31:25.842Z (over 1 year ago)
- Language: C
- Size: 70.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenGL-Template
此项目是一个简化的 OpenGL 工程模板,代码参考自[learnopengl-cn](https://learnopengl-cn.github.io/)。
## 环境搭建
Ubuntu 20.04
```bash
sudo apt install libglfw3-dev libglew3-dev
```
## 编译
```bash
mkdir build
cd build
cmake ..
make -j
```
## 运行
```bash
./build/Simulator
```
或者在**VSCode**的`launch.json`中添加
```bash
"program": "${workspaceFolder}/build/Simulator",
```