Rechercher une page de manuel
vector_length.3alleg
Langue: en
Version: version 4.2.2 (debian - 07/07/09)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
vector_length, vector_length_f - Calculates the length of a vector. Allegro 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 Pythagoras theorem.SEE ALSO
normalize_vector(3alleg)Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre