Adding missing attributes to RawVertex operator==.

This commit is contained in:
hhalen 2019-04-17 19:19:50 -07:00
parent 772965ad03
commit 467e7b2171
1 changed files with 6 additions and 3 deletions

View File

@ -26,9 +26,12 @@
bool RawVertex::operator==(const RawVertex& other) const { bool RawVertex::operator==(const RawVertex& other) const {
return (position == other.position) && (normal == other.normal) && (tangent == other.tangent) && return (position == other.position) && (normal == other.normal) && (tangent == other.tangent) &&
(binormal == other.binormal) && (color == other.color) && (uv0 == other.uv0) && (binormal == other.binormal) && (color == other.color) && (uv0 == other.uv0) &&
(uv1 == other.uv1) && (jointIndices0 == other.jointIndices0) && (uv1 == other.uv1) &&
(jointWeights0 == other.jointWeights0) && (jointIndices1 == other.jointIndices1) && (jointWeights0 == other.jointWeights0) && (jointWeights1 == other.jointWeights1) &&
(jointWeights1 == other.jointWeights1) && (polarityUv0 == other.polarityUv0) && (jointWeights2 == other.jointWeights2) && (jointWeights3 == other.jointWeights3) &&
(jointIndices0 == other.jointIndices0) && (jointIndices1 == other.jointIndices1) &&
(jointIndices2 == other.jointIndices2) && (jointIndices3 == other.jointIndices3) &&
(polarityUv0 == other.polarityUv0) &&
(blendSurfaceIx == other.blendSurfaceIx) && (blends == other.blends); (blendSurfaceIx == other.blendSurfaceIx) && (blends == other.blends);
} }