Showing the changes to libraries/render-utils/src/GeometryCache.cpp (1 of 1 file). Show all
Unified · Split
| @@ -57,7 +57,7 @@ void GeometryCache::renderSphere(float radius, int slices, int stacks, const glm · 56 unmodified lines | ||
| 57 | 57 | |
| 58 | 58 | Vec2Pair radiusKey(glm::vec2(radius, slices), glm::vec2(stacks, 0)); |
| 59 | 59 | IntPair slicesStacksKey(slices, stacks); |
| 60 | − Vec3Pair colorKey(glm::vec3(color.x, color.y, slices),glm::vec3(color.z, color.y, stacks)); | |
| 60 | + Vec3Pair colorKey(glm::vec3(color.x, color.y, slices), glm::vec3(color.z, color.y, stacks)); | |
| 61 | 61 | |
| 62 | 62 | int vertices = slices * (stacks - 1) + 2; |
| 63 | 63 | int indices = slices * (stacks - 1) * NUM_VERTICES_PER_TRIANGULATED_QUAD; |
| @@ -1478,6 +1478,7 @@ void GeometryCache::renderDashedLine(const glm::vec3& start, const glm::vec3& en · 1414 unmodified lines | ||
| 1478 | 1478 | |
| 1479 | 1479 | |
| 1480 | 1480 | int GeometryCache::BatchItemDetails::population = 0; |
| 1481 | + | |
| 1481 | 1482 | GeometryCache::BatchItemDetails::BatchItemDetails() : |
| 1482 | 1483 | verticesBuffer(NULL), |
| 1483 | 1484 | colorBuffer(NULL), |