blob: 9a474797ad1e1007dde1e5094b06f7f4e2e8fdc7 (
plain)
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
|
#include "texcoordgen.h"
#include "../layout.h"
LYTTexCoordGen::LYTTexCoordGen() {
}
void LYTTexCoordGen::dumpToDebug() {
qDebug() << "LYTTexCoordGen @" << (void*)this;
qDebug() << "GenType:" << genType << "- Mtx:" << mtx << "- Src:" << src;
}
void LYTTexCoordGen::writeToDataStream(QDataStream &out) {
out << (quint8)genType;
out << (quint8)src;
out << (quint8)mtx;
out.skipRawData(1); // padding
}
void LYTTexCoordGen::readFromDataStream(QDataStream &in) {
in >> (quint8&)genType;
in >> (quint8&)src;
in >> (quint8&)mtx;
in.skipRawData(1); // padding
}
|