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

Comparing ray/src/common/rgldomat.c (file contents):
Revision 3.1 by gwlarson, Tue Jun 9 11:18:35 1998 UTC vs.
Revision 3.4 by schorsch, Fri Nov 14 17:22:06 2003 UTC

# Line 1 | Line 1
1 /* Copyright (c) 1998 Silicon Graphics, Inc. */
2
1   #ifndef lint
2 < static char SCCSid[] = "$SunId$ SGI";
2 > static const char       RCSid[] = "$Id$";
3   #endif
6
4   /*
5   * Invocation routines for Radiance -> OpenGL materials.
6   */
7  
8 + #include "copyright.h"
9 +
10   #include "radogl.h"
11  
12  
13 + void
14   domatobj(mp, cent)              /* generate OpenGL material for object */
15   register MATREC *mp;
16   FVECT   cent;
17   {
18          GLfloat vec[4];
19  
20 <        if (mp == NULL | !domats)
20 >        if ((mp == NULL) | !domats)
21                  return;
22          if (islight(mp->type)) {
23                  vec[0] = colval(mp->u.l.emission,RED);
# Line 47 | Line 47 | FVECT  cent;
47   }
48  
49  
50 + void
51   domatvert(mp, v, n)             /* generate OpenGL material for vertex */
52   MATREC  *mp;
53   FVECT   v, n;
54   {
55 +        /* unimplemented */
56   }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines