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 |
|
|
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 |
|
|
153 |
|
int flags; |
154 |
|
MESHVERT tv[3]; |
155 |
|
OBJECT tmod; |
156 |
< |
FLOAT wt[3]; |
156 |
> |
RREAL wt[3]; |
157 |
|
int i; |
158 |
|
/* get the mesh instance */ |
159 |
|
prep_edge_cache(o); |