From cd9aad4f41ec6e481c652fa19c89f0e7b36edc0e Mon Sep 17 00:00:00 2001 From: Brad Hefta-Gaub Date: Tue, 22 Sep 2015 21:28:45 -0700 Subject: [PATCH] more warnings fixes --- libraries/render-utils/src/GeometryCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraries/render-utils/src/GeometryCache.cpp b/libraries/render-utils/src/GeometryCache.cpp index 1978e3b8c1..444b4ad00f 100644 --- a/libraries/render-utils/src/GeometryCache.cpp +++ b/libraries/render-utils/src/GeometryCache.cpp @@ -123,7 +123,7 @@ void GeometryCache::ShapeData::drawWireInstances(gpu::Batch& batch, size_t count } const VertexVector& icosahedronVertices() { - static const float phi = (1.0 + sqrt(5.0f)) / 2.0f; + static const float phi = (1.0f + sqrt(5.0f)) / 2.0f; static const float a = 0.5f; static const float b = 1.0f / (2.0f * phi);