Showing the changes to libraries/render-utils/src/GeometryCache.cpp (1 of 23 files). Show all
Unified · Split
| @@ -401,7 +401,6 @@ void GeometryCache::renderCone(float base, float height, int slices, int stacks) · 400 unmodified lines | |||
| 401 | glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); | 401 | glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, 0); |
| 402 | } | 402 | } |
| 403 | 403 | ||
| 404 | |||
| 405 | void GeometryCache::renderGrid(int xDivisions, int yDivisions, const glm::vec4& color) { | 404 | void GeometryCache::renderGrid(int xDivisions, int yDivisions, const glm::vec4& color) { |
| 406 | gpu::Batch batch; | 405 | gpu::Batch batch; |
| 407 | renderGrid(batch, xDivisions, yDivisions, color); | 406 | renderGrid(batch, xDivisions, yDivisions, color); |