ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/rtotypes.h
(Generate patch)

Comparing ray/src/rt/rtotypes.h (file contents):
Revision 1.1 by schorsch, Tue Mar 30 16:21:40 2004 UTC vs.
Revision 1.5 by greg, Thu Apr 18 22:35:01 2019 UTC

# Line 1 | Line 1
1 + /* RCSid $Id$ */
2 + /*
3 + * External functions implementing Radiance object types
4 + */
5  
6 < #include "ray.h"
7 < #include "otypes.h"
6 > #ifndef _RAD_RTOTYPES_H_
7 > #define _RAD_RTOTYPES_H_
8  
9 < typedef int otype_tracef(OBJREC *o, RAY *r);
9 > #ifdef __cplusplus
10 > extern "C" {
11 > #endif
12  
13 < extern otype_tracef o_sphere, o_face, o_cone, o_instance, o_mesh;
13 > typedef int otype_implf(OBJREC *o, RAY *r);
14  
15 < 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;
15 > extern otype_implf o_sphere, o_face, o_cone, o_instance, o_mesh;
16  
17 < extern otype_tracef t_func, t_data;
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;
20  
21 < extern otype_tracef p_cfunc, p_bfunc, p_pdata, p_cdata, p_bdata;
21 > extern otype_implf t_func, t_data;
22  
23 < extern otype_tracef mx_func, mx_data, mx_pdata;
23 > extern otype_implf p_cfunc, p_bfunc, p_pdata, p_cdata, p_bdata;
24  
25 < extern otype_tracef do_text;
25 > extern otype_implf mx_func, mx_data, mx_pdata;
26  
27 + extern otype_implf do_text;
28  
29          /* text.c */
30   extern void freetext(OBJREC *m);
31 +
32 + #ifdef __cplusplus
33 + }
34 + #endif
35 + #endif /* _RAD_RTOTYPES_H_ */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines