| Revision: | 2.4 |
| Committed: | Sun Mar 28 20:33:14 2004 UTC (21 years, 7 months ago) by schorsch |
| Content type: | text/plain |
| Branch: | MAIN |
| CVS Tags: | rad5R4, rad5R2, rad5R3, rad5R0, rad5R1, rad4R2, rad3R7P2, rad3R7P1, rad6R0, rad4R1, rad4R0, rad3R6, rad3R6P1, rad3R8, rad3R9, rad4R2P1, rad4R2P2, HEAD |
| Changes since 2.3: | +7 -1 lines |
| Log Message: | Continued ANSIfication, and other fixes and clarifications. |
| # | User | Rev | Content |
|---|---|---|---|
| 1 | schorsch | 2.4 | /* RCSid: $Id: pmap.h,v 2.3 2003/07/14 22:24:00 schorsch Exp $ */ |
| 2 | greg | 2.1 | /* Pmap return codes */ |
| 3 | schorsch | 2.3 | #ifndef _RAD_PMAP_H_ |
| 4 | #define _RAD_PMAP_H_ | ||
| 5 | |||
| 6 | #ifdef __cplusplus | ||
| 7 | extern "C" { | ||
| 8 | #endif | ||
| 9 | |||
| 10 | greg | 2.1 | #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 | schorsch | 2.3 | |
| 19 | schorsch | 2.4 | |
| 20 | /* defined in pmapgen.c */ | ||
| 21 | extern int pmap_quad_rect(double u0, double v0, double u1, double v1, | ||
| 22 | double qdrl[4][2], double QR[3][3]); | ||
| 23 | extern int pmap_square_quad(double qdrl[4][2], double SQ[3][3]); | ||
| 24 | |||
| 25 | schorsch | 2.3 | #ifdef __cplusplus |
| 26 | } | ||
| 27 | #endif | ||
| 28 | #endif /* _RAD_PMAP_H_ */ | ||
| 29 |