Quaternions
QuickDraw 3D defines quaternions as quadruples of floating-point numbers. A quaternion is defined by theTQ3Quaternion
data type.
- Note
- For a description of quaternions and their use in computer graphics, see the article by Hart, Francis, and Kaufman listed in the Bibliography and the articles cited in that article.
typedef struct TQ3Quaternion { float w; float x; float y; float z; } TQ3Quaternion;
Field Description
w
- The w component of a quaternion.
x
- The x component of a quaternion.
y
- The y component of a quaternion.
z
- The z component of a quaternion.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help