summaryrefslogtreecommitdiffstats
path: root/src/corelib/io
diff options
context:
space:
mode:
authorRhys Weatherley <rhys.weatherley@nokia.com>2009-04-15 23:21:44 (GMT)
committerRhys Weatherley <rhys.weatherley@nokia.com>2009-04-15 23:25:22 (GMT)
commitc57b1a8629b7fa79f48a35eea2f09d923b665dc0 (patch)
treef17a70d2534cea9b095afa479135b1e5ea79805e /src/corelib/io
parent1cb11b428ef1bee070af72676b7eb1fa325bb980 (diff)
downloadQt-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