logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

s3d_vector_subtract - subtract two vectors

Author

SimonWunderlich
           Author of s3d

s3d                                                                                       S3D_VECTOR_SUBTRACT(3)

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)

Name

       s3d_vector_subtract - subtract two vectors

Synopsis

#include<s3d.h>voids3d_vector_subtract(constfloatvector1[],constfloatvector2[],floatresult_vector[]);

See Also