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[]); |
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); |