Chapter 6. Transformations
KEY TOPICS
After all the discussion of how to work with matrices, you're finally ready to look at one of the most common uses of matrices in game programming: affine transformations. Transformations is really just a fancy word for moving objects around in your world. It encompasses movement such as forward and backward or up and down motion, scaling objects larger or smaller, and even rotating objects. The term affine indicates that the essential shape of the object being moved is preserved. This chapter first looks at how to apply the transformation in two dimensions, and then it extends the process to 3D. In the end, you'll be able to set up combos that ...
Get Beginning Math and Physics for Game Programmers now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.