Skip to content

Commit

Permalink
Include tangent in SurfaceTool vertex compare operator
Browse files Browse the repository at this point in the history
  • Loading branch information
clayjohn committed Feb 27, 2024
1 parent bb6b06c commit 2b2f957
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scene/resources/surface_tool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,10 @@ bool SurfaceTool::Vertex::operator==(const Vertex &p_vertex) const {
return false;
}

if (tangent != p_vertex.tangent) {
return false;
}

if (color != p_vertex.color) {
return false;
}
Expand Down

0 comments on commit 2b2f957

Please sign in to comment.