ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/px/pmap.h
(Generate patch)

Comparing ray/src/px/pmap.h (file contents):
Revision 2.2 by greg, Sat Feb 22 02:07:27 2003 UTC vs.
Revision 2.4 by schorsch, Sun Mar 28 20:33:14 2004 UTC

# Line 1 | Line 1
1   /* RCSid: $Id$ */
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
# Line 8 | Line 15
15   *  |c d|
16   */
17   #define DET2(a,b, c,d) ((a)*(d) - (b)*(c))
18 +
19 +
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 + #ifdef __cplusplus
26 + }
27 + #endif
28 + #endif /* _RAD_PMAP_H_ */
29 +

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines