Work on mesh decimation.

This commit is contained in:
David Williams
2007-09-19 07:38:04 +00:00
parent 32204b483f
commit 152a79eaa9
7 changed files with 35 additions and 94 deletions

View File

@ -22,11 +22,11 @@ namespace Ogre
(
(lhs.target == rhs.target) &&
//(lhs.triangle == rhs.triangle)
(lhs.otherHalfEdge->target == rhs.otherHalfEdge->target)
(lhs.otherHalfEdge == rhs.otherHalfEdge)
);
}
bool operator < (const SurfaceEdge& lhs, const SurfaceEdge& rhs)
/*bool operator < (const SurfaceEdge& lhs, const SurfaceEdge& rhs)
{
if(lhs.target == rhs.target)
{
@ -37,5 +37,5 @@ namespace Ogre
return (*(lhs.otherHalfEdge->target) < *(rhs.otherHalfEdge->target));
}
return (*(lhs.target) < *(rhs.target));
}
}*/
}