7 Transform Objects Routines

7 Creating and Manipulating Scale Transforms

QuickDraw3D provides routines that you can use to create and manipulate scale transforms. A scale transform scales an object along the x, y, and z axes by specified values. You are responsible for ensuring that an object is at the correct location and in the proper orientation for the scaling to have the desired effect.

A scale factor can be negative. You should, however, exercise caution when using negative scale factors. In addition, when two or three of the scale factors are 0, nothing is drawn.<8bat>s

7 - Q3ScaleTransform_New
7 - Q3ScaleTransform_Submit
7 - Q3ScaleTransform_Get
7 - Q3ScaleTransform_Set

3D Graphics Programming with QuickDraw 3D - 20 OCT 1995

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker