diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-10-20 19:28:28 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-10-21 03:25:17 +0200 |
commit | 06f20f5e0c4b3c25a2cc9c9812fff81d73e317d7 (patch) | |
tree | 7c7db67a42bf2be97f49844e5e6cb25940004d0e /examples/qt3d | |
parent | ad44118d1954381f9311c94e83889025b18a54b0 (diff) |
Compile with C++0x
Change-Id: Ic8820362cdbc8fa662a5e97db841656cf38d1baa
Reviewed-by: Patrick Burke <patrick.burke@nokia.com>
Diffstat (limited to 'examples/qt3d')
-rw-r--r-- | examples/qt3d/geometry/geometry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/qt3d/geometry/geometry.cpp b/examples/qt3d/geometry/geometry.cpp index a54b7ca75..890b6dfe3 100644 --- a/examples/qt3d/geometry/geometry.cpp +++ b/examples/qt3d/geometry/geometry.cpp @@ -48,7 +48,7 @@ // icosahedron is defined by phi, derived from the golden section // http://en.wikipedia.org/wiki/Icosahedron#Cartesian_coordinates -const qreal phi = 1.618033988749894848f; +const float phi = 1.618033988749894848f; Geometry::Geometry(QObject *parent, QGLMaterialCollection *materials) : QGLSceneNode(parent) |