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