dot_product(3alleg4) | Allegro manual | dot_product(3alleg4) |
dot_product, dot_product_f - Calculates the dot product. Allegro game programming library.
#include <allegro.h>
fixed dot_product(fixed x1, y1, z1, x2, y2, z2);
float dot_product_f(float x1, y1, z1, x2, y2, z2);
Calculates the dot product (x1, y1, z1) . (x2, y2, z2), returning the result.
cross_product(3alleg4), normalize_vector(3alleg4), exstars(3alleg4)
version 4.4.3 | Allegro |