20 Determining Vector Dot Products

20 Q3Vector2D_Dot

You can use the Q3Vector2D_Dot function to determine the dot product of two two-dimensional vectors.

float Q3Vector2D_Dot (
const TQ3Vector2D *v1, 
const TQ3Vector2D *v2);
v1 A two-dimensional vector.
v2 A two-dimensional vector.

DESCRIPTION


The Q3Vector2D_Dot function returns, as its function result, a floating-point value that is the dot product of the two 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