dot_product - Man Page

Calculates the dot product. Allegro game programming library.

Synopsis

#include <allegro.h>

fixed dot_product(fixed x1, y1, z1, x2, y2, z2);

float dot_product_f(float x1, y1, z1, x2, y2, z2);

Description

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

See Also

cross_product(3), normalize_vector(3), exstars(3)

Referenced By

cross_product(3), exstars(3), normalize_vector(3).

The man page dot_product_f(3) is an alias of dot_product(3).

version 4.4.3 Allegro manual