Turns out with open GL you don't want to write you're own vector rotating math.
USE THE LIBRARY LUKE!
So, even though I've been coming back to the math for the past couple of weeks, in the end it took like half an hour once I realized that the libraries can do most of the heavy lifting.
The code is currently ugly, to make it work. Will refactor later tonight, but I thought you guys may want to play with it :D Would make some neat GIFs for tomorrow!
Address #18 and #14
Turns out with open GL you don't want to write you're own vector rotating math.
USE THE LIBRARY LUKE!
So, even though I've been coming back to the math for the past couple of weeks, in the end it took like half an hour once I realized that the libraries can do most of the heavy lifting.
The code is currently ugly, to make it work. Will refactor later tonight, but I thought you guys may want to play with it :D Would make some neat GIFs for tomorrow!