7 |
|
|
8 |
|
#include "copyright.h" |
9 |
|
|
10 |
< |
#include "standard.h" |
10 |
> |
#include "ray.h" |
11 |
|
#include "otypes.h" |
12 |
|
#include "rtotypes.h" |
13 |
|
#include "otspecial.h" |
61 |
|
ofun[MAT_DIRECT2].funp = m_direct; |
62 |
|
ofun[MAT_CLIP].funp = m_clip; |
63 |
|
ofun[MAT_BRTDF].funp = m_brdf; |
64 |
+ |
ofun[MAT_BSDF].funp = m_bsdf; |
65 |
|
ofun[MAT_PFUNC].funp = |
66 |
|
ofun[MAT_MFUNC].funp = |
67 |
|
ofun[MAT_PDATA].funp = |
91 |
|
extern int |
92 |
|
o_default(OBJREC *o, RAY *r) /* default action is error */ |
93 |
|
{ |
94 |
< |
error(INTERNAL, "unexpected object call"); |
95 |
< |
/* call to pull in freeobjmem.o */ /* XXX ? */ |
94 |
> |
objerror(o, CONSISTENCY, "unexpected object call"); |
95 |
> |
/* unused call to load freeobjmem.o */ |
96 |
|
free_objs(0, 0); |
97 |
+ |
return(0); |
98 |
|
} |