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

Comparing ray/src/cv/mgflib/parser.h (file contents):
Revision 1.35 by schorsch, Thu Jun 26 00:58:09 2003 UTC vs.
Revision 1.37 by schorsch, Sat Nov 15 17:54:06 2003 UTC

# Line 297 | Line 297 | extern void    obj_clear(void);                /* clear object stack */
297  
298   typedef RREAL  MAT4[4][4];
299  
300 #ifdef  BSD
301 #define  copymat4(m4a,m4b)      bcopy((char *)m4b,(char *)m4a,sizeof(MAT4))
302 #else
300   #define  copymat4(m4a,m4b)      (void)memcpy((char *)m4a,(char *)m4b,sizeof(MAT4))
304 #endif
301  
302   #define  MAT4IDENT              { {1.,0.,0.,0.}, {0.,1.,0.,0.}, \
303                                  {0.,0.,1.,0.}, {0.,0.,0.,1.} }
# Line 377 | Line 373 | extern void    multmat4(MAT4, MAT4, MAT4);     /* m4a = m4b X
373   extern void     multv3(FVECT, FVECT, MAT4);     /* v3a = v3b X m4 (vectors) */
374   extern void     multp3(FVECT, FVECT, MAT4);     /* p3a = p3b X m4 (points) */
375   extern int      xf(XF *, int, char **);         /* interpret transform spec. */
376 +
377 +        /* cvrgb.c */
378 + extern void mgf2rgb(C_COLOR *cin, double intensity, float cout[3]);
379  
380  
381   /************************************************************************

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines