-
Notifications
You must be signed in to change notification settings - Fork 0
/
ExportFormatOBJ.cpp
34 lines (26 loc) · 1 KB
/
ExportFormatOBJ.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
#include "ExportFormatOBJ.hpp"
#include <QUrl>
ExportFormatOBJ::ExportFormatOBJ() : ExportFormat() {
ExportFormat::loadFormatScheme(":/exports/assets/exports/export_scheme.obj");
}
void ExportFormatOBJ::defineLocationToFillVertices() {
ExportFormat::verticesFillLocation = "<fill_vertices_here>";
}
void ExportFormatOBJ::defineLocationToFillTextureCoords() {
ExportFormat::verticesFillLocation = "<fill_texcoords_here>";
}
void ExportFormatOBJ::defineLocationToFillNormals() {
ExportFormat::verticesFillLocation = "<fill_normals_here>";
}
void ExportFormatOBJ::defineLocationToFillFaces() {
ExportFormat::verticesFillLocation = "<fill_faces_here>";
}
void ExportFormatOBJ::defineInnerSeparatorForIndices() {
ExportFormatOBJ::innerSeparatorForIndices = "/";
}
void ExportFormatOBJ::defineOuterSeparatorForIndices() {
ExportFormatOBJ::outerSeparatorForIndices = " ";
}
void ExportFormatOBJ::defineOuterOuterSeparatorForIndices() {
ExportFormatOBJ::outerOuterSeparatorForIndices = "\n";
}