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 1.5 by greg, Wed Jul 17 14:10:16 1991 UTC vs.
Revision 1.6 by greg, Wed Oct 23 13:43:12 1991 UTC

# Line 161 | Line 161 | conexform(co)                  /* get cone transformation matrix */
161   register CONE  *co;
162   {
163          double  sqrt(), fabs();
164 <        double  m4[4][4];
164 >        MAT4  m4;
165          register double  d;
166          register int  i;
167  
168 <        co->tm = (double (*)[4])malloc(sizeof(m4));
168 >        co->tm = (FLOAT (*)[4])malloc(sizeof(m4));
169          if (co->tm == NULL)
170                  error(SYSTEM, "out of memory in conexform");
171  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines