Re: [Development] Help needed with math3d classes

2012-09-04 Thread Sean Harmer
On Tuesday 04 September 2012 15:53:21 Thiago Macieira wrote: > On terça-feira, 4 de setembro de 2012 13.47.44, Sean Harmer wrote: > > Yes. The trouble is there is no generic compare two floats when you don't > > know if either of them are supposed to be near to/exactly zero. I have a > > WIP patch

Re: [Development] Help needed with math3d classes

2012-09-04 Thread Thiago Macieira
On terça-feira, 4 de setembro de 2012 13.47.44, Sean Harmer wrote: > Yes. The trouble is there is no generic compare two floats when you don't > know if either of them are supposed to be near to/exactly zero. I have a > WIP patch here to try and resolve that but it is a very tricky problem. > > I

Re: [Development] Help needed with math3d classes

2012-09-04 Thread Sean Harmer
On Tuesday 04 September 2012 14:17:28 Thiago Macieira wrote: > On terça-feira, 4 de setembro de 2012 12.48.20, Sean Harmer wrote: > > I know that qFuzzyCompare() is not the best for comparing floating point > > numbers, especially if one of the values is very very close to zero, but > > it > > work

Re: [Development] Help needed with math3d classes

2012-09-04 Thread Thiago Macieira
On terça-feira, 4 de setembro de 2012 12.48.20, Sean Harmer wrote: > I know that qFuzzyCompare() is not the best for comparing floating point > numbers, especially if one of the values is very very close to zero, but it > works on other platforms in this test. qFuzzyCompare is supposed to be used

[Development] Help needed with math3d classes

2012-09-04 Thread Sean Harmer
Hi list, I have prepared the following change which rationalises the QtGui/math3d classes to use float for both internal storage and in its API https://codereview.qt-project.org/#change,33148 Unfortunately the CI systems's 32-bit Ubuntu 10.04 slave is failing one test, namely widgets/graphicsv