Sources/CcgDump/CgfUtils.cpp
// operator that sorts the materials for rendering

operator that sorts the materials for rendering
operator that sorts the materials for rendering
bool CMatEntityNameTokenizer::operator < (const CMatEntityNameTokenizer& right)const
{
	if (this->nSortValue < right.nSortValue)
		return true;
	if (this->nSortValue > right.nSortValue)
		return false;
	int nComp = stricmp (this->szTemplate, right.szTemplate);
	if (nComp < 0)
		return true;
	if (nComp > 0)
		return false;
	nComp = stricmp (this->szName, right.szName);
	if (nComp < 0)
		return true;
	if (nComp > 0)
		return false;
	return false; 
}
bool CMatEntityNameTokenizer :: operator < ( const CMatEntityNameTokenizer & right ) const { if ( this -> nSortValue < right . nSortValue ) return true ; if ( this -> nSortValue > right . nSortValue ) return false ; int nComp = stricmp ( this -> szTemplate , right . szTemplate ) ; if ( nComp < 0 ) return true ; if ( nComp > 0 ) return false ; nComp = stricmp ( this -> szName , right . szName ) ; if ( nComp < 0 ) return true ; if ( nComp > 0 ) return false ; return false ; }
operator that sorts the materials for rendering
operator that sorts the materials for rendering
// they're equal
