compares greater or equal

This commit is contained in:
Francisco Dans 2015-09-01 10:48:21 +02:00
parent 4cb7fd8957
commit 8ce34af306

View File

@ -118,7 +118,7 @@ torque.extend(IsoRenderer.prototype, torque.Event, {
_getNext: function(currentPos, previousPos, cornerValues, contourValue){
var binaryCell = cornerValues.map(function(cornerValue){
if (cornerValue > contourValue){
if (cornerValue >= contourValue){
return "1";
}
return "0";