1vector_length(3)                Allegro manual                vector_length(3)
2
3
4

NAME

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

SYNOPSIS

10       #include <allegro.h>
11
12
13       fixed vector_length(fixed x, fixed y, fixed z);
14
15       float vector_length_f(float x, float y, float z);
16

DESCRIPTION

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

SEE ALSO

23       normalize_vector(3)
24
25
26
27Allegro                          version 4.4.2                vector_length(3)
Impressum