Chapter     3

3D Math Review

In this chapter, I cover vectors and matrices. Vectors and matrices are key to 3D game programming in terms of such things as determining the placement of 3D objects in the scene and how a 3D object is projected onto a 2D screen. Vectors can also be used for defining properties such as velocity and force. I start by discussing vectors and operations that can be performed with vectors. I then cover matrices and the essential operations related to 3D graphics that can be performed with matrices. Finally, I present a hands-on example that will demonstrate how vectors and matrices are actually used in a real 3D graphics program on an Android device.

Vectors and Vector Operations

Vectors are an essential topic related ...

Get Beginning Android 3D Game Development 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.