Man Linux: Main Page and Category List

NAME

       s3d_vector_subtract - substract two vectors

SYNOPSIS

       #include <s3d.h>

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

DESCRIPTION

       Subtracts vector1 from vector2, writing result into result_vector. 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