diff options
author | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-04-15 23:21:44 (GMT) |
---|---|---|
committer | Rhys Weatherley <rhys.weatherley@nokia.com> | 2009-04-15 23:25:22 (GMT) |
commit | c57b1a8629b7fa79f48a35eea2f09d923b665dc0 (patch) | |
tree | f17a70d2534cea9b095afa479135b1e5ea79805e /src/corelib/io | |
parent | 1cb11b428ef1bee070af72676b7eb1fa325bb980 (diff) | |
download | Qt-c57b1a8629b7fa79f48a35eea2f09d923b665dc0.zip Qt-c57b1a8629b7fa79f48a35eea2f09d923b665dc0.tar.gz Qt-c57b1a8629b7fa79f48a35eea2f09d923b665dc0.tar.bz2 |
Optimize vector normalize for vectors of length 1
If the square of the length is very close to 1, then avoid the qSqrt().
Reviewed-by: trustme
Diffstat (limited to 'src/corelib/io')
0 files changed, 0 insertions, 0 deletions