Commit 6c1b88f5 authored by Emeric Verschuur's avatar Emeric Verschuur

petite correction

parent bcd7ebd6
......@@ -112,15 +112,15 @@ operator == (const LrOctree &lhs, const LrOctree &rhs)
if((lhs.m_listeObj.size() != rhs.m_listeObj.size()) || (lhs.m_listeOct.size() != rhs.m_listeOct.size())) return false;
LrEntityList::iterator itObj_rhs = rhstemp.m_listeObj.begin();
for(LrEntityList::iterator itObj_lhs = lhstemp.m_listeObj.begin(); itObj_lhs != lhstemp.m_listeObj.end(); itObj_lhs++)
LrOctree::LrEntityList::iterator itObj_rhs = rhstemp.m_listeObj.begin();
for(LrOctree::LrEntityList::iterator itObj_lhs = lhstemp.m_listeObj.begin(); itObj_lhs != lhstemp.m_listeObj.end(); itObj_lhs++)
{
res = res && (*itObj_lhs == *itObj_rhs);
itObj_rhs++;
}
LrOctreeList::iterator itOct_rhs = rhstemp.m_listeOct.begin();
LrOctreeList::iterator itOct_lhs;
LrOctree::LrOctreeList::iterator itOct_rhs = rhstemp.m_listeOct.begin();
LrOctree::LrOctreeList::iterator itOct_lhs;
for( itOct_lhs = lhstemp.m_listeOct.begin(); itOct_lhs != lhstemp.m_listeOct.end(); itOct_lhs++)
{
res = res && (*itOct_lhs == *itOct_rhs);
......
......@@ -25,6 +25,8 @@
class LrOctree
{
private:
typedef std::list<LrEntity *> LrEntityList;
typedef std::list<LrOctree *> LrOctreeList;
// data
// ****
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment