Main Page   Modules   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

vec3fv.hpp

00001 //============================================================================
00002 // vec3fv.hpp
00003 //============================================================================
00004 
00005 void Set3fv(float v[3], float x, float y, float z);
00006 void Copy3fv(float A[3], const float B[3]); // A=B
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]); // c = a + b
00011 void Subtract3fv(float c[3], const float a[3], const float b[3]); // c = a - b
00012 void Negate3fv(float a[3], const float b[3]);  // a = -b
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); // C = A X B

Generated at Fri Oct 12 15:12:21 2001 for GLVU by doxygen1.2.10 written by Dimitri van Heesch, © 1997-2001