O'Reilly logo

Beginning Android 3D Game Development by Robert Chin

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

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 ...

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