An open API service indexing awesome lists of open source software.

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

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",
```