Changeset 5339 for anuga_work/development/anugavis/src/vector.h
- Timestamp:
- May 16, 2008, 4:17:15 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
anuga_work/development/anugavis/src/vector.h
r5330 r5339 4 4 typedef float vector[3]; 5 5 /* Useful vector operations. */ 6 void vadd(const vector v1, const vector v2, vector result);7 float vlen(const vector v);8 void vscale(const vector v, const float scale, vector result);9 void vsub(const vector v1, const vector v2, vector result);10 float vdot(const vector v1, const vector v2);11 void vcross(const vector v1, const vector v2, vector result);6 extern void vadd(const vector v1, const vector v2, vector result); 7 extern float vlen(const vector v); 8 extern void vscale(const vector v, const float scale, vector result); 9 extern void vsub(const vector v1, const vector v2, vector result); 10 extern float vdot(const vector v1, const vector v2); 11 extern void vcross(const vector v1, const vector v2, vector result); 12 12 13 13 #endif
Note: See TracChangeset
for help on using the changeset viewer.