From 72caaad645dfec4994b540b098a79a94fd74b574 Mon Sep 17 00:00:00 2001 From: <> Date: Sun, 2 Apr 2017 07:04:54 -0700 Subject: [PATCH] Now compiles on GCC & removed ckmath --- ReflexToQ3/mapparser.cpp | 6 +++--- ReflexToQ3/worldspawn.h | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ReflexToQ3/mapparser.cpp b/ReflexToQ3/mapparser.cpp index 7a4da32..8b849be 100644 --- a/ReflexToQ3/mapparser.cpp +++ b/ReflexToQ3/mapparser.cpp @@ -173,15 +173,15 @@ EParserState CMapParser::ParseVertex(const std::string _Line) double dValue = std::stod(pcToken); if(iTokenNum == 0) { - Vert[0] = (float)dValue; + Vert[X] = (float)dValue; } else if(iTokenNum == 1) { - Vert[1] = (float)dValue; + Vert[Y] = (float)dValue; } else if(iTokenNum == 2) { - Vert[2] = (float)dValue; + Vert[Z] = (float)dValue; } iTokenNum++; } diff --git a/ReflexToQ3/worldspawn.h b/ReflexToQ3/worldspawn.h index 23915ae..d182f40 100644 --- a/ReflexToQ3/worldspawn.h +++ b/ReflexToQ3/worldspawn.h @@ -21,7 +21,7 @@ struct TFace struct TBrush { - std::vector m_Vertices; + std::vector m_Vertices; std::vector m_Faces; };