O'Reilly logo

Beginning Android 4 Games Development by Robert Green, Mario Zechner

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Matrices and Transformations Again

In Chapter 6, you learned a little bit about matrices. Let's summarize some of their properties as a little refresher:

  • A matrix translates points (or vertices in our case) to a new position. This is achieved by multiplying the matrix with the point's position.
  • A matrix can translate points on each axis by some amount.
  • A matrix can scale points, meaning that it multiplies each coordinate of a point by some constant.
  • A matrix can rotate a point around an axis.
  • Multiplying an identity matrix with a point has no effect on that point.
  • Multiplying one matrix with another matrix results in a new matrix. Multiplying a point with this new matrix will apply both transformations encoded in the original matrices to that ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required