Matrices are used to rotate 3D objects. However, they tend to be slow and consume too much memory. An alternative to matrices are quaternions. In this post, you will learn how to implement quaternions using C++ in the math engine.
A math engine is an API that contains functions that allows 3D objects to translate/rotate. In this post, you will learn how to implement a Vector class in C++. This class will be used to translate 3D objects across a screen.