more warnings fixes

This commit is contained in:
Brad Hefta-Gaub 2015-09-22 21:28:45 -07:00
parent 9436d2922f
commit cd9aad4f41

View file

@ -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);