ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/cv/tmesh2rad.c
(Generate patch)

Comparing ray/src/cv/tmesh2rad.c (file contents):
Revision 2.12 by greg, Wed Apr 23 00:52:33 2003 UTC vs.
Revision 2.14 by schorsch, Sun Jul 27 22:12:02 2003 UTC

# Line 52 | Line 52 | typedef struct {
52   VERTEX  *vlist = NULL;          /* our vertex list */
53   int     nverts = 0;             /* number of vertices in our list */
54  
55 < #define novert(i)       ((i)<0|(i)>=nverts || !(vlist[i].flags&V_DEFINED))
55 > #define novert(i)       (((i)<0)|((i)>=nverts) || !(vlist[i].flags&V_DEFINED))
56  
57   #define CHUNKSIZ        128     /* vertex allocation chunk size */
58  
# Line 203 | Line 203 | register VERTEX        *v1, *v2, *v3;
203          static int      ntri = 0;
204          int             flatness = ISFLAT;
205          BARYCCM bvecs;
206 <        FLOAT   bvm[3][3];
206 >        RREAL   bvm[3][3];
207          register int    i;
208                                          /* compute barycentric coordinates */
209          if (v1->flags & v2->flags & v3->flags & (V_HASINDX|V_HASNORM))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines