History

Merge branch 'master' of https://github.com/highfidelity/hifi into tot

Sam Gateau committed 11 years ago

Commit 7daff182 parents 764ad72 32f60c493 files · +1060 −389Browse files

Showing the changes to interface/src/renderer/GeometryCache.cpp (1 of 93 files). Show all

Unified · Split

interface/src/renderer/GeometryCache.cpp+1−1
@@ -296,7 +296,7 @@ void GeometryCache::renderHalfCylinder(int slices, int stacks) { · 295 unmodified lines
296 float y = (float)i / (stacks - 1);296 float y = (float)i / (stacks - 1);
297 297
298 for (int j = 0; j <= slices; j++) {298 for (int j = 0; j <= slices; j++) {
299 float theta = 3.f * PI_OVER_TWO + PI * (float)j / (float)slices;299 float theta = 3.0f * PI_OVER_TWO + PI * (float)j / (float)slices;
300 300
301 //normals301 //normals
302 *(vertex++) = sinf(theta);302 *(vertex++) = sinf(theta);