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.4 by schorsch, Fri Jun 6 16:38:47 2003 UTC vs.
Revision 2.6 by greg, Fri Jun 27 06:53:21 2003 UTC

# Line 15 | Line 15
15   extern "C" {
16   #endif
17  
18 #include "copyright.h"
19
18   typedef struct cone {
19 <        FLOAT  *ca;             /* cone arguments (o->oargs.farg) */
19 >        RREAL  *ca;             /* cone arguments (o->oargs.farg) */
20          char  p0, p1;           /* indices for endpoints */
21          char  r0, r1;           /* indices for radii */
22          FVECT  ad;              /* axis direction vector */
23 <        FLOAT  al;              /* axis length */
24 <        FLOAT  sl;              /* side length */
25 <        FLOAT  (*tm)[4];        /* pointer to transformation matrix */
23 >        RREAL  al;              /* axis length */
24 >        RREAL  sl;              /* side length */
25 >        RREAL  (*tm)[4];        /* pointer to transformation matrix */
26   }  CONE;
27  
28   #define  CO_R0(co)      ((co)->ca[(co)->r0])

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines