From 06f20f5e0c4b3c25a2cc9c9812fff81d73e317d7 Mon Sep 17 00:00:00 2001 From: Alan Alpert Date: Thu, 20 Oct 2011 19:28:28 +1000 Subject: Compile with C++0x Change-Id: Ic8820362cdbc8fa662a5e97db841656cf38d1baa Reviewed-by: Patrick Burke --- examples/qt3d/geometry/geometry.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/qt3d') 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) -- cgit v1.2.3