Introduction
From the last chapter, we know what matrices are. It's time to explore how to use matrices. Matrices are often used to transform objects from one space to another. In this chapter, we are going to look at how we can use a 3 X 3 matrix to represent three-dimensional rotation, as well as how we can use a 4 X 4 matrix to represent three-dimensional translation, rotation, and scale.
Note
The matrix library we are developing is going to use row major notation. Most math text and online videos use column major notation. It's very important to keep this in mind if you are following any additional online resources. We will discuss the difference between major notations in this chapter.