Skip to content

Commit 6a2fcb0

Browse files
authored
fix(/wiki/vertex-pulling): smol mistake
1 parent 2cb35cc commit 6a2fcb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

content/wiki/vertex-pulling/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ void main()
128128
vec3 position = vec3(x, y, z);
129129
130130
// Apply the offsets for our face so we can form the 2 triangles
131-
position += facePositions[currVertexID];
131+
position += facePositions[indices[currVertexID]];
132132
133133
// Output our position
134134
gl_Position = vec4(position, 1.0);

0 commit comments

Comments
 (0)