1 |
+ |
/* RCSid $Id$ */ |
2 |
+ |
/* |
3 |
+ |
* External functions implementing Radiance object types |
4 |
+ |
*/ |
5 |
|
|
6 |
< |
#include "ray.h" |
3 |
< |
#include "otypes.h" |
6 |
> |
typedef int otype_implf(OBJREC *o, RAY *r); |
7 |
|
|
8 |
< |
typedef int otype_tracef(OBJREC *o, RAY *r); |
8 |
> |
extern otype_implf o_sphere, o_face, o_cone, o_instance, o_mesh; |
9 |
|
|
10 |
< |
extern otype_tracef o_sphere, o_face, o_cone, o_instance, o_mesh; |
10 |
> |
extern otype_implf m_aniso, m_dielectric, m_glass, m_alias, m_light, |
11 |
> |
m_normal, m_mist, m_mirror, m_direct, m_clip, m_brdf, m_brdf2, |
12 |
> |
m_bsdf, m_ashikhmin; |
13 |
|
|
14 |
< |
extern otype_tracef m_aniso, m_dielectric, m_glass, m_alias, m_light, |
10 |
< |
m_normal, m_mist, m_mirror, m_direct, m_clip, m_brdf, m_brdf2; |
14 |
> |
extern otype_implf t_func, t_data; |
15 |
|
|
16 |
< |
extern otype_tracef t_func, t_data; |
16 |
> |
extern otype_implf p_cfunc, p_bfunc, p_pdata, p_cdata, p_bdata; |
17 |
|
|
18 |
< |
extern otype_tracef p_cfunc, p_bfunc, p_pdata, p_cdata, p_bdata; |
18 |
> |
extern otype_implf mx_func, mx_data, mx_pdata; |
19 |
|
|
20 |
< |
extern otype_tracef mx_func, mx_data, mx_pdata; |
17 |
< |
|
18 |
< |
extern otype_tracef do_text; |
19 |
< |
|
20 |
> |
extern otype_implf do_text; |
21 |
|
|
22 |
|
/* text.c */ |
23 |
|
extern void freetext(OBJREC *m); |