Skip to content

Commit

Permalink
fix quad hash code
Browse files Browse the repository at this point in the history
  • Loading branch information
douira committed Dec 5, 2023
1 parent 07ba709 commit bb6b623
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@ int getQuadHash() {
int result = 1;
result = 31 * result + Arrays.hashCode(this.extents);
if (facing == ModelQuadFacing.UNASSIGNED) {
result = 31 * result + this.facing.hashCode();
} else {
result = 31 * result + this.normal.hashCode();
} else {
result = 31 * result + this.facing.hashCode();
}
result = 31 * result + this.center.hashCode();
return result;
Expand Down

0 comments on commit bb6b623

Please sign in to comment.