Why did I test this after merging?

This commit is contained in:
IntegratedQuantum 2025-05-12 17:51:06 +02:00
parent 2f3a25dfb3
commit 48f67e19c2

View File

@ -75,7 +75,7 @@ void main() {
vec3 lineCenter = (lineStart + lineEnd)/2*(upperBounds - lowerBounds);
vec3 offsetVector = vec3(lineSize);
offsetVector += vec3(notEqual(lineStart, lineEnd))*(upperBounds.x - lowerBounds.x)/2;
offsetVector += vec3(notEqual(lineStart, lineEnd))*(upperBounds - lowerBounds)/2;
vec3 vertexPos = lineCenter + offsetVertices[vertexIndex]*offsetVector;
vec4 mvPos = viewMatrix*vec4(lowerBounds + vertexPos + modelPosition, 1);