20 Converting Dimensions of Points and Vectors

20 Q3Vector2D_To3D

You can use the Q3Vector2D_To3D function to convert a two-dimensional vector to a three-dimensional vector.

TQ3Vector3D *Q3Vector2D_To3D (
const TQ3Vector2D *vector2D, 
TQ3Vector3D *result);
vector2D A two-dimensional vector.
result On exit, a three-dimensional vector.

DESCRIPTION


The Q3Vector2D_To3D function returns, as its function result and in the result parameter, the three-dimensional vector that corresponds to the two-dimensional vector vector2D.

DESCRIPTION

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

© Apple Computer, Inc.

Let us know what you think of these prototype pages.

Generated with Harlequin WebMaker