00001
00002
00003
00004
00005 void Set3fv(float v[3], float x, float y, float z);
00006 void Copy3fv(float A[3], const float B[3]);
00007
00008 void ScalarMult3fv(float c[3], const float a[3], float s);
00009 void ScalarDiv3fv(float v[3], float s);
00010 void Add3fv(float c[3], const float a[3], const float b[3]);
00011 void Subtract3fv(float c[3], const float a[3], const float b[3]);
00012 void Negate3fv(float a[3], const float b[3]);
00013
00014 float Length3fv(const float v[3]);
00015 void Normalize3fv(float v[3]);
00016 float DotProd3fv(const float a[3], const float b[3]);
00017 void CrossProd3fv(float* C, const float* A, const float* B);