simple3dengine/README.md
2020-08-05 00:00:15 -06:00

21 lines
697 B
Markdown

# Simple3DEngine
A simple 3D engine written in C with integer math (fixed-point, except for when normalizing vertices, I did not want to mess with re-inventing the wheel with accurate square-rooting)
## Requirements
* Make
* Gcc
* SDL2 (If on ubuntu follow [these instructions](https://gist.github.com/BoredBored/3187339a99f7786c25075d4d9c80fad5))
## Running
Simply ```cd``` into ```src``` and ```make```!
Use W and S to move the cubes forward and back, arrow keys to move up/down, left/right.
Use Q and E to change X-Axis Rotation
Use A and D to change Y-Axis Rotation
Use Z and C to change Z-Axis Rotation
![Demo](https://s7.gifyu.com/images/simplescreenrecorder-2020-08-04_23.46.35.gif)