1 |
/* RCSid $Id: rtotypes.h,v 1.7 2023/12/13 23:26:16 greg Exp $ */ |
2 |
/* |
3 |
* External functions implementing Radiance object types |
4 |
*/ |
5 |
|
6 |
#ifndef _RAD_RTOTYPES_H_ |
7 |
#define _RAD_RTOTYPES_H_ |
8 |
|
9 |
#ifdef __cplusplus |
10 |
extern "C" { |
11 |
#endif |
12 |
|
13 |
typedef int otype_implf(OBJREC *o, RAY *r); |
14 |
|
15 |
extern otype_implf o_sphere, o_face, o_cone, o_instance, o_mesh; |
16 |
|
17 |
extern otype_implf m_aniso, m_dielectric, m_glass, m_alias, m_light, |
18 |
m_normal, m_mist, m_mirror, m_direct, m_clip, m_brdf, m_brdf2, |
19 |
m_bsdf, m_ashikhmin, m_wgmdf; |
20 |
|
21 |
extern otype_implf t_func, t_data; |
22 |
|
23 |
extern otype_implf p_cfunc, p_bfunc, p_sfunc, p_pdata, p_cdata, |
24 |
p_bdata, p_spectrum, p_specfile, p_specfunc, p_specdata, p_specpict; |
25 |
|
26 |
extern otype_implf mx_func, mx_data, mx_pdata; |
27 |
|
28 |
extern otype_implf do_text; |
29 |
|
30 |
/* text.c */ |
31 |
extern void freetext(OBJREC *m); |
32 |
|
33 |
#ifdef __cplusplus |
34 |
} |
35 |
#endif |
36 |
#endif /* _RAD_RTOTYPES_H_ */ |