We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cf8d25b commit 72efcdeCopy full SHA for 72efcde
src/skeleton/frontend.ts
@@ -172,7 +172,7 @@ highp vec3 vertexA = readAttribute0(aVertexIndex.x);
172
highp vec3 vertexB = readAttribute0(aVertexIndex.y);
173
emitLine(uProjection, vertexA, vertexB, uLineWidth);
174
highp uint lineEndpointIndex = getLineEndpointIndex();
175
-highp uint vertexIndex = aVertexIndex.x * lineEndpointIndex + aVertexIndex.y * (1u - lineEndpointIndex);
+highp uint vertexIndex = aVertexIndex.x * (1u - lineEndpointIndex) + aVertexIndex.y * lineEndpointIndex;
176
`;
177
178
builder.addFragmentCode(`
0 commit comments