Showing the changes to libraries/render-utils/src/GeometryCache.cpp (1 of 4 files). Show all
Unified · Split
| @@ -1029,7 +1029,7 @@ void GeometryCache::updateVertices(int id, const QVector<glm::vec2>& points, con · 1028 unmodified lines | ||
| 1029 | 1029 | int* colorData = new int[details.vertices]; |
| 1030 | 1030 | int* colorDataAt = colorData; |
| 1031 | 1031 | |
| 1032 | − const glm::vec3 NORMAL(0.0f, 0.0f, 1.0f); | |
| 1032 | + const glm::vec3 NORMAL(0.0f, 1.0f, 0.0f); | |
| 1033 | 1033 | auto pointCount = points.size(); |
| 1034 | 1034 | auto colorCount = colors.size(); |
| 1035 | 1035 | int compactColor = 0; |
| @@ -1107,7 +1107,7 @@ void GeometryCache::updateVertices(int id, const QVector<glm::vec3>& points, con · 71 unmodified lines | ||
| 1107 | 1107 | int* colorData = new int[details.vertices]; |
| 1108 | 1108 | int* colorDataAt = colorData; |
| 1109 | 1109 | |
| 1110 | − const glm::vec3 NORMAL(0.0f, 0.0f, 1.0f); | |
| 1110 | + const glm::vec3 NORMAL(0.0f, 1.0f, 0.0f); | |
| 1111 | 1111 | auto pointCount = points.size(); |
| 1112 | 1112 | auto colorCount = colors.size(); |
| 1113 | 1113 | for (auto i = 0; i < pointCount; i++) { |
| @@ -1195,7 +1195,7 @@ void GeometryCache::updateVertices(int id, const QVector<glm::vec3>& points, con · 81 unmodified lines | ||
| 1195 | 1195 | int* colorData = new int[details.vertices]; |
| 1196 | 1196 | int* colorDataAt = colorData; |
| 1197 | 1197 | |
| 1198 | − const glm::vec3 NORMAL(0.0f, 0.0f, 1.0f); | |
| 1198 | + const glm::vec3 NORMAL(0.0f, 1.0f, 0.0f); | |
| 1199 | 1199 | for (int i = 0; i < points.size(); i++) { |
| 1200 | 1200 | glm::vec3 point = points[i]; |
| 1201 | 1201 | glm::vec2 texCoord = texCoords[i]; |