source:
anuga_work/development/anugavis/src/vector.h
@
5272
Last change on this file since 5272 was 5272, checked in by jack, 17 years ago | |
---|---|
File size: 273 bytes |
Line | |
---|---|
1 | #ifndef VECTOR_H |
2 | #define VECTOR_H |
3 | |
4 | typedef float vector[3]; |
5 | /* Useful vector operations. */ |
6 | float vlen(vector v); |
7 | void vsub(vector v1, vector v2, vector result); |
8 | void vnormalise(vector v, vector result); |
9 | void vcross(vector v1, vector v2, vector result); |
10 | |
11 | #endif |
Note: See TracBrowser
for help on using the repository browser.