src/basics.cpp

changeset 967
eb586d3e1a6a
parent 966
a834e43a57da
child 968
4b93b7963456
equal deleted inserted replaced
966:a834e43a57da 967:eb586d3e1a6a
307 if (xscale > yscale) 307 if (xscale > yscale)
308 { 308 {
309 if (xscale > zscale) 309 if (xscale > zscale)
310 size = xscale; 310 size = xscale;
311 } 311 }
312 elif (yscale > zscale) 312 else if (yscale > zscale)
313 size = yscale; 313 size = yscale;
314 314
315 if (qAbs (size) >= 2.0) 315 if (qAbs (size) >= 2.0)
316 return qAbs (size / 2); 316 return qAbs (size / 2);
317 317

mercurial