dot_product.3alleg

Langue: en

Version: version 4.2.2 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

dot_product, dot_product_f - Calculates the dot product. Allegro game programming library.

SYNOPSIS

#include <allegro.h>

fixed dot_product(fixed x1, y1, z1, x2, y2, z2);

float dot_product_f(float x1, y1, z1, x2, y2, z2);

DESCRIPTION

Calculates the dot product (x1, y1, z1) . (x2, y2, z2), returning the result.

SEE ALSO

cross_product(3alleg), normalize_vector(3alleg), exstars(3alleg)