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.1 by greg, Mon Mar 30 18:28:35 2020 UTC vs.
Revision 2.5 by greg, Fri May 1 18:55:34 2020 UTC

# Line 88 | Line 88 | Scene *                loadOBJ(Scene *sc, const char *fspec);
88   /* Duplicate a scene */
89   Scene *         dupScene(const Scene *sc);
90  
91 + /* Transform entire scene */
92 + int             xfScene(Scene *sc, int xac, char *xav[]);
93 + int             xfmScene(Scene *sc, const char *xfm);
94 +
95   /* Add a descriptive comment */
96   void            addComment(Scene *sc, const char *comment);
97  
# Line 148 | 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