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.3 by greg, Thu Apr 2 22:14:01 2020 UTC vs.
Revision 2.5 by greg, Fri May 1 18:55:34 2020 UTC

# Line 152 | Line 152 | int            changeGroup(Scene *sc, const char *gname,
152   int             changeMaterial(Scene *sc, const char *mname,
153                                          int flreq, int flexc);
154  
155 < /* Grab texture coord's/normals from another object via ray tracing */
156 < #define GET_TEXTURE             01
157 < #define GET_NORMALS             02
158 < int             traceSurface(Scene *sc, int flreq, int flexc,
159 <                                const char *oct, int what);
155 > /* Add a vertex to our scene */
156 > int             addVertex(Scene *sc, double x, double y, double z);
157 >
158 > /* Add a texture coordinate to our scene */
159 > int             addTexture(Scene *sc, double u, double v);
160 >
161 > /* Add a surface normal to our scene */
162 > int             addNormal(Scene *sc, double xn, double yn, double zn);
163 >
164 > /* Set current (last) group */
165 > void            setGroup(Scene *sc, const char *nm);
166 >
167 > /* Set current (last) material */
168 > void            setMaterial(Scene *sc, const char *nm);
169  
170   /* Free a scene */
171   void            freeScene(Scene *sc);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines