History

Successful static half cylinder backing.

Hifi Test Account committed 13 years ago

Commit 05d933b1 parent d725bcd2 files · +5 −1Browse files

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

Unified · Split

interface/src/renderer/GeometryCache.cpp+1−1
@@ -176,7 +176,7 @@ void GeometryCache::renderHalfCylinder(int slices, int stacks) { · 175 unmodified lines
176176 float radius = 1.0f;
177177
178178 for (int j = 0; j <= slices; j++) {
179− float theta = PIf * j / slices;
179+ float theta = 3 * PIf / 2 + PIf * j / slices;
180180
181181 *(vertex++) = sinf(theta) * radius;
182182 *(vertex++) = y;