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

Comparing ray/src/common/cone.c (file contents):
Revision 2.6 by greg, Tue Feb 25 02:47:21 2003 UTC vs.
Revision 2.8 by schorsch, Thu Jun 26 00:58:09 2003 UTC

# Line 143 | Line 143 | argcerr:
143          objerror(o, USER, "bad # arguments");
144   raderr:
145          objerror(o, USER, "illegal radii");
146 +        return NULL; /* pro forma return */
147   }
148  
149  
# Line 169 | Line 170 | register CONE  *co;
170          register double  d;
171          register int  i;
172  
173 <        co->tm = (FLOAT (*)[4])malloc(sizeof(MAT4));
173 >        co->tm = (RREAL (*)[4])malloc(sizeof(MAT4));
174          if (co->tm == NULL)
175                  error(SYSTEM, "out of memory in conexform");
176  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines