vector_length(3alleg4) linux man page | unix.com

Man Page: vector_length

Operating Environment: linux

Section: 3alleg4

vector_length(3alleg4)						  Allegro manual					    vector_length(3alleg4)

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(3alleg4) Allegro version 4.4.2 vector_length(3alleg4)
Related Man Pages
fixed(3alleg4) - netbsd
get_rotation_matrix_f(3alleg4) - centos
get_rotation_matrix(3alleg4) - php
fixed(3alleg4) - plan9
fixed(3alleg4) - freebsd
Similar Topics in the Unix Linux Community
Please Donate to the Red Cross for Earthquake and Tsunami Relief in Japan
Status of UNIX.COM Forum Transformation
Answers to Recently Asked Questions about UNIX.COM