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

Get 3D Math Primer for Graphics and Game Development now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.