Skip to content

Commit 681cbe8

Browse files
fix: styling issues
1 parent 4d02bfd commit 681cbe8

1 file changed

Lines changed: 0 additions & 3 deletions

File tree

src/coordinate.cpp

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,13 @@ Coordinate Coordinate::operator-(const Coordinate& obj) const {
2525
}
2626

2727
std::size_t Coordinate::operator()(const mcpp::Coordinate& obj) const {
28-
// Minecraft coordinate bounds
2928
int lower = -3e7, upper = 3e7;
3029
size_t base = upper - lower + 1;
3130

32-
// Convert coordinate attributes to non-negative values
3331
size_t nx = obj.x - lower;
3432
size_t ny = obj.y - lower;
3533
size_t nz = obj.z - lower;
3634

37-
// Combine and weight coordinate values using the boundary range
3835
return nx * base * base + ny * base + nz;
3936
}
4037

0 commit comments

Comments
 (0)