Commit c6c8c24e authored by GoshaZotov's avatar GoshaZotov

+ by previous

parent 25e9aede
...@@ -1536,6 +1536,11 @@ Processor3D.prototype.checkOutSideArea = function(newPoints) ...@@ -1536,6 +1536,11 @@ Processor3D.prototype.checkOutSideArea = function(newPoints)
y111 = t.convertAndTurnPoint(minMaxOy.tempX1, minMaxOy.tempY1, minMaxOy.tempZ1); y111 = t.convertAndTurnPoint(minMaxOy.tempX1, minMaxOy.tempY1, minMaxOy.tempZ1);
y222 = t.convertAndTurnPoint(minMaxOy.tempX2, minMaxOy.tempY2, minMaxOy.tempZ2); y222 = t.convertAndTurnPoint(minMaxOy.tempX2, minMaxOy.tempY2, minMaxOy.tempZ2);
diffY = Math.abs(y222.y - y111.y); diffY = Math.abs(y222.y - y111.y);
if(count > maxCount)
{
return;
}
} }
if(diffX <= widthChart && diffY <= heightChart && ((widthChart - diffX) < DELTA || (heightChart - diffY) < DELTA)) if(diffX <= widthChart && diffY <= heightChart && ((widthChart - diffX) < DELTA || (heightChart - diffY) < DELTA))
{ {
...@@ -1576,12 +1581,12 @@ Processor3D.prototype.checkOutSideArea = function(newPoints) ...@@ -1576,12 +1581,12 @@ Processor3D.prototype.checkOutSideArea = function(newPoints)
{ {
fLeftDiffZ = t.cameraDiffZ; fLeftDiffZ = t.cameraDiffZ;
} }
}
if(count > maxCount) if(count > maxCount)
{ {
return; return;
} }
}
}; };
calculateZ(); calculateZ();
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment