https://github.com/sharkwouter/opengl-1.1-example
My attempt at learning OpenGL 1.1
https://github.com/sharkwouter/opengl-1.1-example
Last synced: about 1 year ago
JSON representation
My attempt at learning OpenGL 1.1
- Host: GitHub
- URL: https://github.com/sharkwouter/opengl-1.1-example
- Owner: sharkwouter
- License: unlicense
- Created: 2025-01-31T07:56:15.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-04T08:11:28.000Z (over 1 year ago)
- Last Synced: 2025-03-29T00:15:02.308Z (about 1 year ago)
- Language: C
- Size: 6.84 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# OpenGL 1.1 example
This is a simple OpenGL example using SDL2 to manage the window. It just draws a basic cube made out of triangles and spins it. It works on PC and PSP.
## How to Build
### PC
Run the following commands:
```
mkdir build
cd build
cmake ..
make
```
The binary will be in the build directory.
### PSP
Install the [PSPDEV Toolchain](https://pspdev.github.io/). Then run the following commands:
```
mkdir build
cd build
psp-cmake ..
make
```
The `EBOOT.PBP` will be in the build directory.