History

CR feedback

ZappoMan committed 11 years ago

Commit c1bb03e1 parent 8c0db261 file · +2 −1Browse files

Showing the changes to libraries/render-utils/src/GeometryCache.cpp (1 of 1 file). Show all

Unified · Split

libraries/render-utils/src/GeometryCache.cpp+2−1
@@ -57,7 +57,7 @@ void GeometryCache::renderSphere(float radius, int slices, int stacks, const glm · 56 unmodified lines
5757
5858 Vec2Pair radiusKey(glm::vec2(radius, slices), glm::vec2(stacks, 0));
5959 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));
6161
6262 int vertices = slices * (stacks - 1) + 2;
6363 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
14781478
14791479
14801480 int GeometryCache::BatchItemDetails::population = 0;
1481+
14811482 GeometryCache::BatchItemDetails::BatchItemDetails() :
14821483 verticesBuffer(NULL),
14831484 colorBuffer(NULL),