Substract two vectors
#include <s3d.h>
void s3d_vector_subtract(const float vector1[], const float vector2[], float result_vector[]);
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)
Simon Wunderlich
Author of s3d