Skip to content

ThomasW2005/projection3DCube

Repository files navigation

3D Spinning Cube


This is a simple 3D projection of a Cube in C++


Libraries:

  • SDL2
  • SDL2-TTF
  • Custom MatrixMath Library

Matrices used:

  • Simple Projection matrix
  • X/Y/Z Rotation matrix

Inspired by @Daniel Shiffman's Coding Challenge #112


screenshot