diff --git a/src/STLWriter.cpp b/src/STLWriter.cpp index 2c7d784..86d0adb 100644 --- a/src/STLWriter.cpp +++ b/src/STLWriter.cpp @@ -112,7 +112,7 @@ void writeSTLfromArray(const vector &hList, int width, int height, float Vector c = Vector((x-1)*xScale,y-1,hc); Vector d = Vector((x-1)*xScale,y,hd); - if(abs(hd-hb)>abs(ha-hc)){ + if(abs(hd-hb)