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

Comparing ray/src/hd/sm.h (file contents):
Revision 3.11 by greg, Sat Feb 22 02:07:25 2003 UTC vs.
Revision 3.13 by schorsch, Mon Jul 14 22:24:00 2003 UTC

# Line 3 | Line 3
3   *  sm.h
4   */
5  
6 < #ifndef _SM_H_
7 < #define _SM_H_
6 > #ifndef _RAD_SM_H_
7 > #define _RAD_SM_H_
8 >
9   #include "rhd_sample.h"
10   #include "sm_qtree.h"
11   #include "sm_stree.h"
12 +
13 + #ifdef __cplusplus
14 + extern "C" {
15 + #endif
16 +
17   #define NEWSETS
18  
19  
# Line 101 | Line 107 | typedef struct _SM {
107      int free_tris;        /* pointer to free_list */
108      int max_verts;        /* Maximum number of vertices in the mesh */
109      TRI *tris;            /* Pointer to list of triangle structs */
110 <    int4 *flags[T_FLAGS]; /* Bit 0 set if active(in current frustum) */
110 >    int32 *flags[T_FLAGS]; /* Bit 0 set if active(in current frustum) */
111                            /* Bit 1 set if not rendered since created */
112                            /* Bit 2 set if base triangle */
113   }SM;
# Line 265 | Line 271 | extern FVECT FrustumNear[4],FrustumFar[4];
271   * Find the closest sample to the given ray.  Return -1 on failure.
272   *
273   */
268 #endif
274  
275 <
276 <
277 <
278 <
274 <
275 <
275 > #ifdef __cplusplus
276 > }
277 > #endif
278 > #endif /* define _RAD_SM_H_ */
279  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines