dot_product_f(3) Calculates the dot product. Allegro game programming library.

Other Alias

dot_product

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.