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.6 by greg, Sat May 2 00:12:45 2020 UTC vs.
Revision 2.8 by greg, Tue Jun 23 19:29:40 2020 UTC

# 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 155 | Line 158 | int            changeGroup(Scene *sc, const char *gname,
158   int             changeMaterial(Scene *sc, const char *mname,
159                                          int flreq, int flexc);
160  
161 < /* Add a vertex to our scene */
161 > /* Add a vertex to our scene, returning index */
162   int             addVertex(Scene *sc, double x, double y, double z);
163  
164 < /* Add a texture coordinate to our scene */
164 > /* Add a texture coordinate to our scene, returning index */
165   int             addTexture(Scene *sc, double u, double v);
166  
167 < /* Add a surface normal to our scene */
167 > /* Add a surface normal to our scene, returning index */
168   int             addNormal(Scene *sc, double xn, double yn, double zn);
169  
170 < /* Set current (last) group */
170 > /* Set current group (sc->lastgrp) to given ID */
171   void            setGroup(Scene *sc, const char *nm);
172  
173 < /* Set current (last) material */
173 > /* Set current material (sc->lastmat) to given ID */
174   void            setMaterial(Scene *sc, const char *nm);
175  
176 < /* Add a new face to our scene (using current group and material */
176 > /* Add a new face to our scene, using current group and material */
177   Face *          addFace(Scene *sc, VNDX vid[], int nv);
178  
179   /* Free a scene */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines