.\" Generated by the Allegro makedoc utility .TH dot_product 3alleg4 "version 4.4.2" "Allegro" "Allegro manual" .SH NAME dot_product, dot_product_f \- Calculates the dot product. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B fixed dot_product(fixed x1, y1, z1, x2, y2, z2); .B float dot_product_f(float x1, y1, z1, x2, y2, z2); .SH DESCRIPTION Calculates the dot product (x1, y1, z1) . (x2, y2, z2), returning the result. .SH SEE ALSO .BR cross_product (3alleg4), .BR normalize_vector (3alleg4), .BR exstars (3alleg4)