History

Only whitespace changes

Dale Glass committed 4 years ago

Commit 87ba20e1 parent 3347cc524 files · +183 −183Browse files

Showing the changes to interface/src/scripting/GooglePolyScriptingInterface.cpp (1 of 24 files). Show all

Unified · Split

interface/src/scripting/GooglePolyScriptingInterface.cpp+2−2
@@ -29,7 +29,7 @@ const QString LIST_POLY_URL = "https://poly.googleapis.com/v1/assets?"; · 28 unmodified lines
29const QString GET_POLY_URL = "https://poly.googleapis.com/v1/assets/model?";29const QString GET_POLY_URL = "https://poly.googleapis.com/v1/assets/model?";
30 30
31const QStringList VALID_FORMATS = QStringList() << "BLOCKS" << "FBX" << "GLTF" << "GLTF2" << "OBJ" << "TILT" << "";31const QStringList VALID_FORMATS = QStringList() << "BLOCKS" << "FBX" << "GLTF" << "GLTF2" << "OBJ" << "TILT" << "";
32const QStringList VALID_CATEGORIES = QStringList() << "animals" << "architecture" << "art" << "food" << 32const QStringList VALID_CATEGORIES = QStringList() << "animals" << "architecture" << "art" << "food" <<
33 "nature" << "objects" << "people" << "scenes" << "technology" << "transport" << "";33 "nature" << "objects" << "people" << "scenes" << "technology" << "transport" << "";
34 34
35GooglePolyScriptingInterface::GooglePolyScriptingInterface() {35GooglePolyScriptingInterface::GooglePolyScriptingInterface() {
@@ -75,7 +75,7 @@ QString GooglePolyScriptingInterface::getGLTF2(const QString& keyword, const QSt · 39 unmodified lines
75 QUrl url = formatURLQuery(keyword, category, "GLTF2");75 QUrl url = formatURLQuery(keyword, category, "GLTF2");
76 return getModelURL(url);76 return getModelURL(url);
77}77}
78 78
79// This method will not be useful until we support Tilt models79// This method will not be useful until we support Tilt models
80QString GooglePolyScriptingInterface::getTilt(const QString& keyword, const QString& category) {80QString GooglePolyScriptingInterface::getTilt(const QString& keyword, const QString& category) {
81 QUrl url = formatURLQuery(keyword, category, "TILT");81 QUrl url = formatURLQuery(keyword, category, "TILT");