Use float throughout the Qt3D module for consistency and performance
authorSean Harmer <sean.harmer@kdab.com>
Sat, 15 Sep 2012 19:33:30 +0000 (20:33 +0100)
committerQt by Nokia <qt-info@nokia.com>
Sun, 16 Sep 2012 09:03:03 +0000 (11:03 +0200)
commit36d48811ca41c02978b78216c52d454123be36df
treeaa24da7584606ba57007ba813ed1b0690255f1ff
parent3b6c224d0a266e5eb8e1894b9ca4ae9c1d9a27ce
Use float throughout the Qt3D module for consistency and performance

This commit changes the API of all classes in this module to use float
rather than qreal. This makes the API consistent across platforms and
improves floating point performance.

Change-Id: I95ae65cb31428748e066d5efca059ce24087fafa
Reviewed-by: Lars Knoll <lars.knoll@nokia.com>
Reviewed-by: Sarah Jane Smith <sez@storybridge.org>
114 files changed:
demos/qt3d/cubehouse/cubeview.cpp
demos/qt3d/cubehouse/cubeview.h
demos/qt3d/pageflip/pageflip.cpp
demos/qt3d/pageflip/pageflipmath.cpp
demos/qt3d/pageflip/pageflipmath_p.h
demos/qt3d/photobrowser3d/imagedisplay.cpp
demos/qt3d/photobrowser3d/imagedisplay.h
demos/qt3d/photobrowser3d/pancontroller.cpp
demos/qt3d/photobrowser3d/pancontroller.h
demos/qt3d/photobrowser3d/photobrowser3dview.cpp
demos/qt3d/photobrowser3d/photobrowser3dview.h
demos/qt3d/photobrowser3d/qfocusadaptor.cpp
demos/qt3d/photobrowser3d/qfocusadaptor.h
demos/qt3d/photobrowser3d/thumbnailableimage.cpp
demos/qt3d/photobrowser3d/thumbnailableimage.h
demos/qt3d/photobrowser3d/thumbnailnode.cpp
demos/qt3d/photobrowser3d/thumbnailnode.h
demos/qt3d/teaservice/meshobject.h
examples/qt3d/basket/basketview.h
examples/qt3d/builder/builder.cpp
examples/qt3d/geometry/quadplane.cpp
examples/qt3d/load_model/load_model.h
examples/qt3d/nesting/cubeview.h
examples/qt3d/solarsystem/solarsystem.h
examples/qt3d/tank/quadplane.cpp
examples/qt3d/tank/tank.cpp
src/imports/threed/qgraphicslookattransform.cpp
src/imports/threed/qt3dnamespace.cpp
src/imports/threed/qt3dnamespace.h
src/imports/threed/scale3d.cpp
src/imports/threed/viewport.cpp
src/imports/threed/viewport.h
src/quick3d/capsulemesh.cpp
src/quick3d/capsulemesh.h
src/quick3d/cylindermesh.cpp
src/quick3d/cylindermesh.h
src/quick3d/library.xml
src/quick3d/line.cpp
src/quick3d/line.h
src/quick3d/plugins.qmltypes
src/quick3d/point.cpp
src/quick3d/point.h
src/quick3d/qquickeffect.cpp
src/quick3d/qquickeffect.h
src/quick3d/qquickitem3d.cpp
src/quick3d/qquickitem3d.h
src/quick3d/spheremesh.cpp
src/quick3d/spheremesh.h
src/threed/arrays/qcolor4ub.cpp
src/threed/arrays/qcolor4ub.h
src/threed/arrays/qcustomdataarray.cpp
src/threed/arrays/qcustomdataarray.h
src/threed/arrays/qvector2darray.cpp
src/threed/arrays/qvector2darray.h
src/threed/arrays/qvector3darray.cpp
src/threed/arrays/qvector3darray.h
src/threed/arrays/qvector4darray.cpp
src/threed/arrays/qvector4darray.h
src/threed/geometry/qgeometrydata.cpp
src/threed/geometry/qgeometrydata.h
src/threed/geometry/qglbezierpatches.cpp
src/threed/geometry/qglbezierpatches.h
src/threed/geometry/qglbuilder.cpp
src/threed/geometry/qglbuilder.h
src/threed/geometry/qglcube.cpp
src/threed/geometry/qglcube.h
src/threed/geometry/qglcylinder.cpp
src/threed/geometry/qglcylinder.h
src/threed/geometry/qgldome.cpp
src/threed/geometry/qgldome.h
src/threed/geometry/qglsphere.cpp
src/threed/geometry/qglsphere.h
src/threed/graphicsview/qgraphicsrotation3d.cpp
src/threed/graphicsview/qgraphicsrotation3d.h
src/threed/graphicsview/qgraphicstranslation3d.cpp
src/threed/graphicsview/qgraphicstranslation3d.h
src/threed/materials/qglmaterial.cpp
src/threed/materials/qglmaterial.h
src/threed/painting/qgllightparameters.cpp
src/threed/painting/qgllightparameters.h
src/threed/painting/qglpainter.cpp
src/threed/painting/qglpainter.h
src/threed/painting/qmatrix4x4stack.cpp
src/threed/painting/qmatrix4x4stack.h
src/threed/scene/qglscenenode.cpp
src/threed/scene/qglscenenode.h
src/threed/scene_bezier/qglbezierscenehandler.cpp
src/threed/surfaces/qglabstractsurface.cpp
src/threed/surfaces/qglabstractsurface.h
src/threed/viewing/qglcamera.cpp
src/threed/viewing/qglcamera.h
src/threed/viewing/qglcameraanimation.cpp
src/threed/viewing/qglview.cpp
tests/auto/imports/qcapsulemesh/tst_qcapsulemesh.cpp
tests/auto/imports/qcylindermesh/tst_qcylindermesh.cpp
tests/auto/imports/qline/tst_qline.cpp
tests/auto/imports/qpoint/tst_qpoint.cpp
tests/auto/imports/qspheremesh/tst_qspheremesh.cpp
tests/auto/threed/qcolor4ub/tst_qcolor4ub.cpp
tests/auto/threed/qglbuilder/tst_qglbuilder.cpp
tests/auto/threed/qglcamera/tst_qglcamera.cpp
tests/auto/threed/qglcube/tst_qglcube.cpp
tests/auto/threed/qglcylinder/tst_qglcylinder.cpp
tests/auto/threed/qgllightparameters/tst_qgllightparameters.cpp
tests/auto/threed/qglmaterial/tst_qglmaterial.cpp
tests/auto/threed/qglpainter/qglsimulator.cpp
tests/auto/threed/qglscenenode/tst_qglscenenode.cpp
tests/auto/threed/qglsection/tst_qglsection.cpp
tests/auto/threed/qglsphere/tst_qglsphere.cpp
tests/auto/threed/qgraphicstransform3d/tst_qgraphicstransform3d.cpp
tests/auto/threed/qvectorarray/tst_qvectorarray.cpp
tests/benchmarks/matrix_properties/tst_matrix_properties.cpp
tests/benchmarks/qglbuilder_perf/tst_qglbuilder_perf.cpp
tools/qt3d/qglinfo/fpswidget.cpp