mirror of
https://github.com/overte-org/overte.git
synced 2025-04-25 14:33:31 +02:00
CR feedback
This commit is contained in:
parent
8c0db268e6
commit
c1bb03e9a8
1 changed files with 2 additions and 1 deletions
|
@ -57,7 +57,7 @@ void GeometryCache::renderSphere(float radius, int slices, int stacks, const glm
|
|||
|
||||
Vec2Pair radiusKey(glm::vec2(radius, slices), glm::vec2(stacks, 0));
|
||||
IntPair slicesStacksKey(slices, stacks);
|
||||
Vec3Pair colorKey(glm::vec3(color.x, color.y, slices),glm::vec3(color.z, color.y, stacks));
|
||||
Vec3Pair colorKey(glm::vec3(color.x, color.y, slices), glm::vec3(color.z, color.y, stacks));
|
||||
|
||||
int vertices = slices * (stacks - 1) + 2;
|
||||
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
|
|||
|
||||
|
||||
int GeometryCache::BatchItemDetails::population = 0;
|
||||
|
||||
GeometryCache::BatchItemDetails::BatchItemDetails() :
|
||||
verticesBuffer(NULL),
|
||||
colorBuffer(NULL),
|
||||
|
|
Loading…
Reference in a new issue