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

Comparing ray/src/rt/o_mesh.c (file contents):
Revision 2.7 by schorsch, Thu Jun 26 00:58:10 2003 UTC vs.
Revision 2.8 by schorsch, Mon Jun 30 14:59:12 2003 UTC

# Line 21 | Line 21 | static const char RCSid[] = "$Id$";
21  
22   #include  "copyright.h"
23  
24 < #include  "ray.h"
24 > #include <string.h>
25  
26 + #include  "ray.h"
27   #include  "mesh.h"
27
28   #include  "tmesh.h"
29  
30  
# Line 52 | Line 52 | OBJREC *o;
52                                          /* get mesh instance */
53          edge_cache.mi = getmeshinst(edge_cache.o = o, IO_ALL);
54                                          /* clear edge cache */
55 <        bzero((void *)edge_cache.cache, sizeof(edge_cache.cache));
55 >        memset((void *)edge_cache.cache, '\0', sizeof(edge_cache.cache));
56   }
57  
58  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines