1dot_product(3)                  Allegro manual                  dot_product(3)
2
3
4

NAME

6       dot_product,  dot_product_f  - Calculates the dot product. Allegro game
7       programming library.
8

SYNOPSIS

10       #include <allegro.h>
11
12
13       fixed dot_product(fixed x1, y1, z1, x2, y2, z2);
14
15       float dot_product_f(float x1, y1, z1, x2, y2, z2);
16

DESCRIPTION

18       Calculates the dot product (x1, y1, z1) . (x2, y2, z2),  returning  the
19       result.
20
21

SEE ALSO

23       cross_product(3), normalize_vector(3), exstars(3)
24
25
26
27Allegro                          version 4.4.3                  dot_product(3)
Impressum