1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-08-01 11:25:50 +00:00

Small formal fixes on the new 3d grid algorithm

This commit is contained in:
Lukas Matena
2019-02-18 12:47:15 +01:00
parent 5966dcb78e
commit dbfcb8b76e
2 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -96,7 +96,7 @@ public:
struct PointGrid3D {
struct GridHash {
std::size_t operator()(const Vec3i &cell_id) {
std::size_t operator()(const Vec3i &cell_id) const {
return std::hash<int>()(cell_id.x()) ^ std::hash<int>()(cell_id.y() * 593) ^ std::hash<int>()(cell_id.z() * 7919);
}
};