|
Namespaces |
namespace | apig |
Classes |
class | Face |
struct | VertexOBJ |
Defines |
#define | FORMAT_ERROR(message) |
#define | UNSUPPORTED(message) Message::error(QString("balise non supportee : fichier '%1' ligne %2 : %3").arg(fileName).arg(num).arg(message)); |
#define | READ_NEXT_LINE |
#define | END_FILE (stream.atEnd()) |
#define | SPLIT_LINE word = line.section("#", 0, 0).simplified().split(" ", QString::SkipEmptyParts); |
#define | FLOAT_REQ(ok, val, i) bool ok = (i < word.size()); float val = ok ? word[i].toFloat(&ok) : 0.0f; |
#define | FLOAT_OPT(ok, val, i, def) bool ok = true; float val = (i < word.size()) ? word[i].toFloat(&ok) : def; |
#define | INT_OPT(ok, val, tab, i, def) bool ok = true; int val = (i >= tab.size() || tab[i].isEmpty()) ? def : tab[i].toInt(&ok); |