Every rotation, stretch and mirror in a game is a 3×3 matrix. Its columns say where the x, y and z axes land, and the whole model follows.