Explicitly use float rather than qreal in math3d classes
authorSean Harmer <sean.harmer@kdab.com>
Sat, 15 Sep 2012 15:37:38 +0000 (16:37 +0100)
committerQt by Nokia <qt-info@nokia.com>
Sun, 16 Sep 2012 09:03:47 +0000 (11:03 +0200)
commit4f956db820967692b3b1ca2c5ceee19105f3f6b6
tree14d12f54830cd282a50ccbfba773a774cd748e43
parent36d48811ca41c02978b78216c52d454123be36df
Explicitly use float rather than qreal in math3d classes

This commit is a follow-up to the change in qtbase/gui/math3d to
use floats. We are now explicit about precision rather than
fudging around qreal's containing no more than float precision
values.

Change-Id: I673a86fde4f57ddbd61aedff09617b772d7971b0
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Sarah Jane Smith <sez@storybridge.org>
15 files changed:
src/threed/math3d/qbox3d.cpp
src/threed/math3d/qbox3d.h
src/threed/math3d/qplane3d.cpp
src/threed/math3d/qplane3d.h
src/threed/math3d/qray3d.cpp
src/threed/math3d/qray3d.h
src/threed/math3d/qsphere3d.cpp
src/threed/math3d/qsphere3d.h
src/threed/math3d/qtriangle3d.cpp
src/threed/math3d/qtriangle3d.h
tests/auto/threed/qbox3d/tst_qbox3d.cpp
tests/auto/threed/qplane3d/tst_qplane3d.cpp
tests/auto/threed/qray3d/tst_qray3d.cpp
tests/auto/threed/qsphere3d/tst_qsphere3d.cpp
tests/auto/threed/qtriangle3d/tst_qtriangle3d.cpp