.\" Generated by the Allegro makedoc utility .TH normalize_vector 3alleg4 "version 4.4.3" "Allegro" "Allegro manual" .SH NAME normalize_vector, normalize_vector_f \- Converts the vector to a unit vector. Allegro game programming library.\& .SH SYNOPSIS .B #include .sp .B void normalize_vector(fixed *x, fixed *y, fixed *z); .B void normalize_vector_f(float *x, float *y, float *z); .SH DESCRIPTION Converts the vector (*x, *y, *z) to a unit vector. This points in the same direction as the original vector, but has a length of one. .SH SEE ALSO .BR vector_length (3alleg4), .BR dot_product (3alleg4), .BR cross_product (3alleg4), .BR exstars (3alleg4)