https://github.com/devodev/opengl-experiment
A playground for learning OpenGL basics using Go.
https://github.com/devodev/opengl-experiment
Last synced: 5 months ago
JSON representation
A playground for learning OpenGL basics using Go.
- Host: GitHub
- URL: https://github.com/devodev/opengl-experiment
- Owner: devodev
- Created: 2020-08-29T20:19:35.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2021-12-19T19:26:05.000Z (over 4 years ago)
- Last Synced: 2024-06-20T08:04:37.087Z (almost 2 years ago)
- Language: Go
- Homepage:
- Size: 4.85 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# opengl-experiment

## Setup
Install a cgo compiler(Windows):
Install GLFW Depencies:
Install OpenGL and GLFW cgo binding libraries
```bash
go get -u github.com/go-gl/gl/v4.6-core/gl
go get -u github.com/go-gl/glfw/v3.3/glfw
```
## Example
Run the example project
```bash
git clone https://github.com/devodev/opengl-experiment.git
cd opengl-experiment/examples/textured_quad
go run .
```