summaryrefslogtreecommitdiff
path: root/lyt/materials/texsrt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lyt/materials/texsrt.cpp')
-rw-r--r--lyt/materials/texsrt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lyt/materials/texsrt.cpp b/lyt/materials/texsrt.cpp
index 7ffc83e..55ddb9c 100644
--- a/lyt/materials/texsrt.cpp
+++ b/lyt/materials/texsrt.cpp
@@ -21,7 +21,7 @@
LYTTexSRT::LYTTexSRT() {
}
-void LYTTexSRT::dumpToDebug() {
+void LYTTexSRT::dumpToDebug() const {
qDebug() << "LYTTexSRT @" << (void*)this;
qDebug() << "Scale:" << xScale << "," << yScale;
qDebug() << "Rotation:" << rotate;
@@ -29,7 +29,7 @@ void LYTTexSRT::dumpToDebug() {
}
-void LYTTexSRT::writeToDataStream(QDataStream &out) {
+void LYTTexSRT::writeToDataStream(QDataStream &out) const {
out << (float)xTrans;
out << (float)yTrans;
out << (float)rotate;