logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

vector_length, vector_length_f - Calculates the length of a vector. Allegro game programming library.

Description

       Calculates the length of the vector (x, y, z), using that good 'ole Pythagoras theorem.

Name

       vector_length, vector_length_f - Calculates the length of a vector. Allegro game programming library.

See Also

normalize_vector(3alleg4)

Allegro                                           version 4.4.3                           vector_length(3alleg4)

Synopsis

#include<allegro.h>fixedvector_length(fixedx,fixedy,fixedz);floatvector_length_f(floatx,floaty,floatz);

See Also