fixed issues and elevators

This commit is contained in:
root
2017-11-08 18:10:40 +01:00
parent 7eb3a16e48
commit ce558d0c01
8 changed files with 164 additions and 40 deletions

View File

@@ -197,7 +197,7 @@ public:
const int x2 = helper.align(bbox.getMax().x);
const int y1 = helper.align(bbox.getMin().y);
const int y2 = helper.align(bbox.getMax().y);
const int z_cm = (floor->atHeight*100);
const int z_cm = std::round(floor->atHeight*100);
const int total = (x2-x1) / helper.gridSize();
int cur = 0;