O'Reilly logo

3D Math Primer for Graphics and Game Development by Ian Parberry, Fletcher Dunn

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 11

Transformations in C++

This chapter gives code for representing orientation and performing transformations. It is divided into five sections.

image  Section 11.1 discusses a few ground rules that are common to all the helper classes.

image  Section 11.2 presents class EulerAngles, which is used to store an orientation in Euler angle format.

image  Section 11.3 presents class Quaternion, which is used to store an angular displacement in quaternion format. ...

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