| Revision: | 2.3 |
| Committed: | Mon Jul 14 22:24:00 2003 UTC (22 years, 3 months ago) by schorsch |
| Content type: | text/plain |
| Branch: | MAIN |
| Changes since 2.2: | +14 -1 lines |
| Log Message: | Instrumented headers against multiple inclusion and for use from C++. Moved includes in headers out of "C" scope. |
| # | Content |
|---|---|
| 1 | /* RCSid: $Id: pmap.h,v 2.2 2003/02/22 02:07:27 greg Exp $ */ |
| 2 | /* Pmap return codes */ |
| 3 | #ifndef _RAD_PMAP_H_ |
| 4 | #define _RAD_PMAP_H_ |
| 5 | |
| 6 | #ifdef __cplusplus |
| 7 | extern "C" { |
| 8 | #endif |
| 9 | |
| 10 | #define PMAP_BAD -1 |
| 11 | #define PMAP_LINEAR 0 |
| 12 | #define PMAP_PERSP 1 |
| 13 | |
| 14 | /* |a b| |
| 15 | * |c d| |
| 16 | */ |
| 17 | #define DET2(a,b, c,d) ((a)*(d) - (b)*(c)) |
| 18 | |
| 19 | #ifdef __cplusplus |
| 20 | } |
| 21 | #endif |
| 22 | #endif /* _RAD_PMAP_H_ */ |
| 23 |