From 79818145a72fa7bdbf2dcc73acd9ffc9ec7ee6ff Mon Sep 17 00:00:00 2001 From: Kim Kulling Date: Thu, 15 Jun 2017 20:24:10 +0200 Subject: [PATCH] ObjImporter: remove dead code. --- code/ObjFileParser.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/code/ObjFileParser.cpp b/code/ObjFileParser.cpp index 5f95bb96d..bd73a88d9 100644 --- a/code/ObjFileParser.cpp +++ b/code/ObjFileParser.cpp @@ -109,28 +109,6 @@ ObjFile::Model *ObjFileParser::GetModel() const { return m_pModel; } -/*void ignoreNewLines(IOStreamBuffer &streamBuffer, std::vector &buffer) -{ - auto curPosition = buffer.begin(); - do - { - while (*curPosition!='\n'&&*curPosition!='\\') - { - ++curPosition; - } - if (*curPosition=='\\') - { - std::vector tempBuf; - do - { - streamBuffer.getNextDataLine(tempBuf, '\\' ); - } while (tempBuf[0]=='\n'); - *curPosition = ' '; - std::copy(tempBuf.cbegin(), tempBuf.cend(), ++curPosition); - } - } while (*curPosition!='\n'); -}*/ - void ObjFileParser::parseFile( IOStreamBuffer &streamBuffer ) { // only update every 100KB or it'll be too slow //const unsigned int updateProgressEveryBytes = 100 * 1024;