Showing the changes to libraries/render-utils/src/GeometryCache.cpp (1 of 1 file). Show all
Unified · Split
| @@ -69,7 +69,6 @@ static gpu::Stream::FormatPointer INSTANCED_SOLID_FADE_STREAM_FORMAT; · 68 unmodified lines | |||
| 69 | static const uint SHAPE_VERTEX_STRIDE = sizeof(glm::vec3) * 2; // vertices and normals | 69 | static const uint SHAPE_VERTEX_STRIDE = sizeof(glm::vec3) * 2; // vertices and normals |
| 70 | static const uint SHAPE_NORMALS_OFFSET = sizeof(glm::vec3); | 70 | static const uint SHAPE_NORMALS_OFFSET = sizeof(glm::vec3); |
| 71 | static const gpu::Type SHAPE_INDEX_TYPE = gpu::UINT32; | 71 | static const gpu::Type SHAPE_INDEX_TYPE = gpu::UINT32; |
| 72 | static const uint SHAPE_INDEX_SIZE = sizeof(gpu::uint32); | ||
| 73 | 72 | ||
| 74 | template <size_t SIDES> | 73 | template <size_t SIDES> |
| 75 | std::vector<vec3> polygon() { | 74 | std::vector<vec3> polygon() { |