A simple 3D engine written in C with integer math (fixed-point). I WROTE THIS WHEN I WAS 16 - DO NOT USE!!
src | ||
LICENSE | ||
README.md |
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)
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