Wavefront object model writer.
More...
#include <tdme/engine/fileio/models/WFObjWriter.h>
Wavefront object model writer.
- Author
- andreas.drewke
- Version
- $Id$
Definition at line 20 of file WFObjWriter.h.
◆ WFObjWriter()
◆ addFace()
void addFace |
( |
vector< int > |
faceVertexIndices | ) |
|
Adds a face.
- Parameters
-
faceVertexIndices | face vertex indices |
Definition at line 34 of file WFObjWriter.cpp.
◆ addVertex()
void addVertex |
( |
const Vector3 & |
vertex | ) |
|
◆ write()
void write |
( |
const string & |
pathName, |
|
|
const string & |
fileName |
|
) |
| |
Writes this wave front object file.
- Parameters
-
pathName | path name |
fileName | file name |
- Returns
- model
- Exceptions
-
Definition at line 59 of file WFObjWriter.cpp.
◆ faces
vector<vector<array<int, 2> > > faces |
|
private |
◆ normals
◆ vertices
The documentation for this class was generated from the following files:
- /home/andreas/Development/drewke.net/tdme2/src/tdme/engine/fileio/models/WFObjWriter.h
- /home/andreas/Development/drewke.net/tdme2/src/tdme/engine/fileio/models/WFObjWriter.cpp