Sigh... Cube renderer in x86-64 assembly (NASM).
Use WASD and QE keys for movement, UHJK and YI keys for rotation.
Progarm uses SDL to only do 2 things: display the generated bitmap and handle user input. Everything else is coded in NASM. I use Bresenham's line algorithm to draw lines. Matrix multiplication uses SSE. Some use of legacy FPU since I wanted to learn it too :).
- gcc
- make
- nasm
- SDL2
Just type
make all