Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
vector_length(3)		Allegro	manual		      vector_length(3)

NAME
       vector_length, vector_length_f -	Calculates the length of a vector. Al-
       legro game programming library.

SYNOPSIS
       #include	<allegro.h>

       fixed vector_length(fixed x, fixed y, fixed z);

       float vector_length_f(float x, float y, float z);

DESCRIPTION
       Calculates the length of	the vector (x, y, z), using that good 'ole Py-
       thagoras	theorem.

SEE ALSO
       normalize_vector(3)

Allegro				 version 4.4.2		      vector_length(3)

NAME | SYNOPSIS | DESCRIPTION | SEE ALSO

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=vector_length&sektion=3&manpath=FreeBSD+12.0-RELEASE+and+Ports>

home | help