cross_product_f(3alleg4) debian man page | unix.com

Man Page: cross_product_f

Operating Environment: debian

Section: 3alleg4

cross_product(3alleg4)						  Allegro manual					    cross_product(3alleg4)

NAME
cross_product, cross_product_f - Calculates the cross product. Allegro game programming library.
SYNOPSIS
#include <allegro.h> void cross_product(fixed x1, y1, z1, x2, y2, z2, *xout, *yout, *zout); void cross_product_f(float x1, y1, z1, x2, y2, z2, *xout, *yout, *zout);
DESCRIPTION
Calculates the cross product (x1, y1, z1) x (x2, y2, z2), storing the result in (*xout, *yout, *zout). The cross product is perpendicular to both of the input vectors, so it can be used to generate polygon normals.
SEE ALSO
dot_product(3alleg4), polygon_z_normal(3alleg4), normalize_vector(3alleg4), exstars(3alleg4) Allegro version 4.4.2 cross_product(3alleg4)
Related Man Pages
exstars(3alleg4) - debian
exstars(3alleg4) - centos
exstars(3alleg4) - opendarwin
exstars(3alleg4) - plan9
exstars(3alleg4) - freebsd
Similar Topics in the Unix Linux Community
Adding the individual columns of a matrix.
Installing Dash Shell on OS X Lion
Find columns in a file based on header and print to new file
Weird 'find' results
New UNIX and Linux History Sections