add WFObj::VertexRef::operator<()
This commit is contained in:
parent
3506ad6b57
commit
d33b4826e2
9
WFObj.cc
9
WFObj.cc
@ -326,3 +326,12 @@ bool WFObj::loadfile(const char *path, Buffer *buff)
|
|||||||
{
|
{
|
||||||
/* TODO */
|
/* TODO */
|
||||||
}
|
}
|
||||||
|
|
||||||
|
bool WFObj::VertexRef::operator<(const VertexRef & other)
|
||||||
|
{
|
||||||
|
if (vertex != other.vertex)
|
||||||
|
return vertex < other.vertex;
|
||||||
|
if (texture != other.texture)
|
||||||
|
return texture < other.texture;
|
||||||
|
return normal < other.normal;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user