.\" Generated by the Allegro makedoc utility .TH vector_length 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME vector_length, vector_length_f \- Calculates the length of a vector. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B fixed vector_length(fixed x, fixed y, fixed z); .B float vector_length_f(float x, float y, float z); .SH DESCRIPTION Calculates the length of the vector (x, y, z), using that good 'ole Pythagoras theorem. .SH SEE ALSO .BR normalize_vector (3alleg4)