Include tangent in SurfaceTool vertex compare operator
This commit is contained in:
parent
bb6b06c813
commit
2b2f957543
1 changed files with 4 additions and 0 deletions
|
@ -97,6 +97,10 @@ bool SurfaceTool::Vertex::operator==(const Vertex &p_vertex) const {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (tangent != p_vertex.tangent) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
if (color != p_vertex.color) {
|
if (color != p_vertex.color) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue