S3D_VECTOR_SUBTRACT(3) | s3d Manual | S3D_VECTOR_SUBTRACT(3) |
s3d_vector_subtract - 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
s3d |