Now compiles on GCC & removed ckmath
This commit is contained in:
parent
f66f9f6619
commit
72caaad645
@ -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++;
|
||||
}
|
||||
|
@ -21,7 +21,7 @@ struct TFace
|
||||
|
||||
struct TBrush
|
||||
{
|
||||
std::vector<TVector3f> m_Vertices;
|
||||
std::vector<Eigen::Vector3f> m_Vertices;
|
||||
std::vector<TFace> m_Faces;
|
||||
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user