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.7 by greg, Sat May 2 00:21:13 2020 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines