Refactoring work... Argh, this is hard!

This commit is contained in:
David Williams
2007-08-19 20:28:33 +00:00
parent 47bb4b016d
commit adfdb3062f
8 changed files with 129 additions and 49 deletions

View File

@ -33,6 +33,10 @@ namespace Ogre
Vector3 normal;
float alpha;
SurfaceVertex()
{
}
SurfaceVertex(Vector3 positionToSet)
:position(positionToSet)
{
@ -50,21 +54,21 @@ namespace Ogre
return ((position - rhs).length() < 0.01);
}
/*bool operator < (const Vertex& rhs) const
bool operator < (const SurfaceVertex& rhs) const
{
if(z < rhs.z)
if(position.z < rhs.position.z)
{
return true;
}
else
{
if(y < rhs.y)
if(position.y < rhs.position.y)
{
return true;
}
else
{
if(x < rhs.x)
if(position.x < rhs.position.x)
{
return true;
}
@ -74,7 +78,7 @@ namespace Ogre
}
}
}
}*/
}
};
}