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.7 by greg, Sat May 2 00:21:13 2020 UTC vs.
Revision 2.9 by greg, Fri Feb 12 01:57:49 2021 UTC

# Line 88 | Line 88 | Scene *                newScene(void);
88   /* Add a .OBJ file to a scene */
89   Scene *         loadOBJ(Scene *sc, const char *fspec);
90  
91 < /* Duplicate a scene */
92 < Scene *         dupScene(const Scene *sc);
91 > /* Duplicate a scene, optionally selecting faces */
92 > Scene *         dupScene(const Scene *sc, int flreq, int flexc);
93  
94   /* Transform entire scene */
95   int             xfScene(Scene *sc, int xac, char *xav[]);
# Line 98 | Line 98 | int            xfmScene(Scene *sc, const char *xfm);
98   /* Add a descriptive comment */
99   void            addComment(Scene *sc, const char *comment);
100  
101 + /* Find index for comment containing the given string (starting from n) */
102 + int             findComment(Scene *sc, const char *match, int n);
103 +
104   /* Clear comments */
105   void            clearComments(Scene *sc);
106  
# Line 172 | Line 175 | void           setMaterial(Scene *sc, const char *nm);
175  
176   /* Add a new face to our scene, using current group and material */
177   Face *          addFace(Scene *sc, VNDX vid[], int nv);
178 +
179 + /* Delete unreferenced vertices, normals, texture coords */
180 + void            deleteUnreferenced(Scene *sc);
181  
182   /* Free a scene */
183   void            freeScene(Scene *sc);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines