Chapter 3. Axis/Angle Rotation

In this chapter:

The Rotation Transform 101

Combining Rotation and Other Transforms 113

Introduction to Hit-Testing 128

Animating the Axis 145

The third of the three standard types of 3D transforms is the rotation. Both conceptually and syntactically, the rotation is quite a bit more complex than translation or scaling, and it's no use trying to persuade you otherwise. Combinations of rotations in several planes can be so complex that a special mathematical tool called the quaternion exists solely for working with them. Yet, the quaternion itself is so complex that I'm going to delay discussing it until Chapter 8.

The Rotation Transform

The RotateTransform3D class defines just four properties. Like ScaleTransform3D, RotateTransform3D ...

Get 3D Programming for Windows® 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.