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

Comparing ray/src/common/objutil.h (file contents):
Revision 2.5 by greg, Fri May 1 18:55:34 2020 UTC vs.
Revision 2.6 by greg, Sat May 2 00:12:45 2020 UTC

# Line 23 | Line 23
23  
24   struct Face;                            /* forward declaration */
25  
26 + typedef int             VNDX[3];        /* vertex indices (point,map,normal) */
27 +
28 + /* Structure to hold vertex indices and link back to face list */
29   typedef struct {
30          int             vid;            /* vertex id */
31          int             tid;            /* texture id */
# Line 166 | Line 169 | void           setGroup(Scene *sc, const char *nm);
169  
170   /* Set current (last) material */
171   void            setMaterial(Scene *sc, const char *nm);
172 +
173 + /* Add a new face to our scene (using current group and material */
174 + Face *          addFace(Scene *sc, VNDX vid[], int nv);
175  
176   /* Free a scene */
177   void            freeScene(Scene *sc);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines