Chapter 8. Quaternions
In this chapter:
"The Convenience of Complex Numbers" 338
Why Are Quaternions So Weird? 347
Low-Level Quaternion Rotation 356
Quaternions and Rotation Matrices 359
Rotation is one of the most common tasks of 3D graphics programming, and yet also the task fraught with the scariest mathematics. Fortunately, the programmer working with WPF 3D is insulated from much of the difficult mathematics with the convenience of the RotateTransform3D and AxisAngleRotation3D classes, which I first discussed in Chapter 3. When used in conjunction, these two classes let you define a rotation by specifying the axis of rotation, an angle of ...
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.