From ebcc95da4c26369511caa90d89c5ed06e1e4853a Mon Sep 17 00:00:00 2001 From: Treeki Date: Thu, 14 Oct 2010 20:17:20 +0200 Subject: brlyt packing added, plus some changes in the existing API (mostly for const correctness). brlyt writing may still need some testing (especially for the material structs) --- lyt/materials/indirectstage.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lyt/materials/indirectstage.cpp') diff --git a/lyt/materials/indirectstage.cpp b/lyt/materials/indirectstage.cpp index c1e6d87..362fcaf 100644 --- a/lyt/materials/indirectstage.cpp +++ b/lyt/materials/indirectstage.cpp @@ -21,14 +21,14 @@ LYTIndirectStage::LYTIndirectStage() { } -void LYTIndirectStage::dumpToDebug() { +void LYTIndirectStage::dumpToDebug() const { qDebug() << "LYTIndirectStage @" << (void*)this; qDebug() << "texCoord:" << this->texCoord << "- texMap:" << this->texMap; qDebug() << "wrap_s:" << this->wrap_s << "- wrap_t:" << this->wrap_t; } -void LYTIndirectStage::writeToDataStream(QDataStream &out) { +void LYTIndirectStage::writeToDataStream(QDataStream &out) const { out << (quint8)texCoord; out << (quint8)texMap; out << (quint8)wrap_s; -- cgit v1.2.3