179180181182183184185186187188189
//if (point.z != point.z) point.z = 0; //} for(int i=0; i<points.size(); i++) { GmlPoint p = points.get(i); p.subSelf(originShift); p.scaleSelf(scaling); // Fix NaN if (p.x != p.x || p.y != p.y || p.z != p.z) { points.remove(i);