Introduction
Matrices in games are used extensively. In the context of physics, matrices are used to represent different coordinate spaces. In games, we often combine coordinate spaces; this is done through matrix multiplication. In game physics, it's useful to move one object into the coordinate space of another object; this requires matrices to be inverted. In order to invert a matrix, we have to find its minor, determinant, cofactor, and adjugate. This chapter focuses on what is needed to multiply and invert matrices.
Note
Every formula in this chapter is followed by some practical examples. If you find yourself needing additional examples, Purplemath is a great resource; look under the Advanced Algebra Topic section: www.purplemath.com/modules