Skip to content

Commit 347f5e7

Browse files
authored
Merge pull request #20837 from Mugen87/dev40
TiltLoader: Fix for loop.
2 parents b998f66 + 6cf4944 commit 347f5e7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/jsm/loaders/TiltLoader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ class StrokeGeometry extends BufferGeometry {
172172

173173
size = size / 2;
174174

175-
for ( let i = 3, j = 4; i <= positions.length; i += 3, j += 4 ) {
175+
for ( let i = 0, j = 0; i < positions.length; i += 3, j += 4 ) {
176176

177177
position.fromArray( positions, i );
178178
quaternion.fromArray( quaternions, j );

0 commit comments

Comments
 (0)