Man Linux: Main Page and Category List

NAME

       s3d_vector_cross_product - calculate cross product of two vectors

SYNOPSIS

       #include <s3d.h>

       void s3d_vector_cross_product(const float vector1[],
                                     const float vector2[],
                                     float result_vector[]);

DESCRIPTION

       Calculates and returns the cross product of vector1 and vector2. All
       vectors should have the format float[3]. More info on wikipedia.
       http://en.wikipedia.org/wiki/Vector_(spatial)

AUTHOR

       Simon Wunderlich
           Author of s3d