Now compiles on GCC & removed ckmath

This commit is contained in:
2017-04-02 07:04:54 -07:00
parent f66f9f6619
commit 72caaad645
2 changed files with 4 additions and 4 deletions

View File

@ -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++;
}

View File

@ -21,7 +21,7 @@ struct TFace
struct TBrush
{
std::vector<TVector3f> m_Vertices;
std::vector<Eigen::Vector3f> m_Vertices;
std::vector<TFace> m_Faces;
};