Updated for mesh loading.

Following TheBennyBox's 3D Game engine videos on youtube.
Diverging and modifying to the internals of DeadMarsGameEngines needs, and based on own mathematical research.