Q3TranslateTransform_New
You can use theQ3TranslateTransform_Newfunction to create a new translate transform.
TQ3TransformObject Q3TranslateTransform_New ( const TQ3Vector3D *translate);
translate- A vector whose three fields specify the desired translation along each coordinate axis.
DESCRIPTION
TheQ3TranslateTransform_Newfunction returns, as its function result, a reference to a new transform object of typekQ3TransformTypeTranslateusing the data passed in thetranslateparameter. The transform translates an object by the values intranslate->x,translate->y, andtranslate->z, respectively. The data you pass in thetranslateparameter is copied into internal QuickDraw 3D data structures. If QuickDraw 3D cannot allocate memory for those structures,Q3TranslateTransform_Newreturns the valueNULL.
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help