20 Negating Vectors

20 Q3Vector2D_Negate

You can use the Q3Vector2D_Negate function to negate a two-dimensional vector.

TQ3Vector2D *Q3Vector2D_Negate (
const TQ3Vector2D *vector2D, 
TQ3Vector2D *result);
vector2D A two-dimensional vector.
result On exit, the negation of the specified vector.

DESCRIPTION


The Q3Vector2D_Negate function returns, as its function result and in the result parameter, the vector that is the negation of the 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