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

Comparing ray/src/common/cone.h (file contents):
Revision 2.6 by greg, Fri Jun 27 06:53:21 2003 UTC vs.
Revision 2.7 by schorsch, Fri Nov 14 17:22:06 2003 UTC

# Line 25 | Line 25 | typedef struct cone {
25          RREAL  (*tm)[4];        /* pointer to transformation matrix */
26   }  CONE;
27  
28 < #define  CO_R0(co)      ((co)->ca[(co)->r0])
29 < #define  CO_R1(co)      ((co)->ca[(co)->r1])
28 > #define  CO_R0(co)      ((co)->ca[(int)((co)->r0)])
29 > #define  CO_R1(co)      ((co)->ca[(int)((co)->r1)])
30   #define  CO_P0(co)      ((co)->ca+(co)->p0)
31   #define  CO_P1(co)      ((co)->ca+(co)->p1)
32  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines