summaryrefslogtreecommitdiffstats
path: root/examples/qt3d/geometry/geometry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'examples/qt3d/geometry/geometry.cpp')
-rw-r--r--examples/qt3d/geometry/geometry.cpp2
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)