1al_fixhypot(3) Library Functions Manual al_fixhypot(3)
23
4
NAME
6al_fixhypot
7
SYNOPSIS
9#include <allegro5/allegro.h>
1011
al_fixed al_fixhypot(al_fixed x, al_fixed y)
12
DESCRIPTION
14Fixed point hypotenuse (returns the square root of x*x + y*y). This
15should be better than calculating the formula yourself manually, since
16the error is much smaller.
1718
19
20
Allegro reference manual al_fixhypot(3)