Q3ScaleTransform_New
You can use theQ3ScaleTransform_Newfunction to create a new scale transform.
TQ3TransformObject Q3ScaleTransform_New ( const TQ3Vector3D *scale);
scale- A vector whose three fields specify the desired scaling along each coordinate axis.
DESCRIPTION
TheQ3ScaleTransform_Newfunction returns, as its function result, a reference to a new transform object of typekQ3TransformTypeScaleusing the data passed in thescaleparameter. The scale transform scales an object by the values inscale->x,scale->y, andscale->z, respectively. The data you pass in thescaleparameter is copied into internal QuickDraw 3D data structures. If QuickDraw 3D cannot allocate memory for those structures,Q3ScaleTransform_Newreturns the valueNULL.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help