20 Determining Vector Cross Products

20 Q3Vector3D_Cross

You can use the Q3Vector3D_Cross function to determine the cross product of two three-dimensional vectors.

TQ3Vector3D *Q3Vector3D_Cross (
const TQ3Vector3D *v1, 
const TQ3Vector3D *v2, 
TQ3Vector3D *result);
v1 A three-dimensional vector.
v2 A three-dimensional vector.
result On exit, the cross product of v1 and v2.

DESCRIPTION


The Q3Vector3D_Cross function returns, as its function result and in the result parameter, the cross product of the vectors v1 and v2.

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