History

typo

Atlante45 committed 11 years ago

Commit c0725811 parent 526ec3d2 files · +4 −4Browse files

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

Unified · Split

libraries/render-utils/src/GeometryCache.cpp+3−3
@@ -815,9 +815,9 @@ void GeometryCache::renderSolidCube(gpu::Batch& batch, float size, const glm::ve · 814 unmodified lines
815815 const int VERTEX_STRIDE = sizeof(GLfloat) * FLOATS_PER_VERTEX * 2; // vertices and normals
816816 const int NORMALS_OFFSET = sizeof(GLfloat) * FLOATS_PER_VERTEX;
817817
818− if (!_solidCubeVerticies.contains(size)) {
818+ if (!_solidCubeVertices.contains(size)) {
819819 gpu::BufferPointer verticesBuffer(new gpu::Buffer());
820− _solidCubeVerticies[size] = verticesBuffer;
820+ _solidCubeVertices[size] = verticesBuffer;
821821
822822 GLfloat* vertexData = new GLfloat[vertexPoints * 2]; // vertices and normals
823823 GLfloat* vertex = vertexData;
@@ -892,7 +892,7 @@ void GeometryCache::renderSolidCube(gpu::Batch& batch, float size, const glm::ve · 68 unmodified lines
892892
893893 colorBuffer->append(sizeof(colors), (gpu::Byte*) colors);
894894 }
895− gpu::BufferPointer verticesBuffer = _solidCubeVerticies[size];
895+ gpu::BufferPointer verticesBuffer = _solidCubeVertices[size];
896896 gpu::BufferPointer colorBuffer = _solidCubeColors[colorKey];
897897
898898 const int VERTICES_SLOT = 0;

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t