20 Setting Points and Vectors

20 Q3Vector2D_Set

You can use the Q3Vector2D_Set function to set the scalar components of a two-dimensional vector.

TQ3Vector2D *Q3Vector2D_Set (
TQ3Vector2D *vector2D, 
float x, 
float y);
vector2D A two-dimensional vector.
x The x scalar component of the vector.
y The y scalar component of the vector.

DESCRIPTION


The Q3Vector2D_Set function returns, as its function result and in the vector2D parameter, the two-dimensional vector whose scalar components are specified by the x and y parameters.

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