未验证 提交 347f5e76 编写于 作者: M Mr.doob 提交者: GitHub

Merge pull request #20837 from Mugen87/dev40

TiltLoader: Fix for loop.
......@@ -172,7 +172,7 @@ class StrokeGeometry extends BufferGeometry {
size = size / 2;
for ( let i = 3, j = 4; i <= positions.length; i += 3, j += 4 ) {
for ( let i = 0, j = 0; i < positions.length; i += 3, j += 4 ) {
position.fromArray( positions, i );
quaternion.fromArray( quaternions, j );
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册