Skip to content

Commit 8caf9c5

Browse files
matthias-wmrdoob
authored andcommitted
branch-to-fix-mrdoob#9835 (mrdoob#9840)
1 parent 4b0b278 commit 8caf9c5

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

src/math/Vector2.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,8 @@ Vector2.prototype = {
8787
default: throw new Error( 'index is out of range: ' + index );
8888

8989
}
90+
91+
return this;
9092

9193
},
9294

src/math/Vector3.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,8 @@ Vector3.prototype = {
7979
default: throw new Error( 'index is out of range: ' + index );
8080

8181
}
82+
83+
return this;
8284

8385
},
8486

src/math/Vector4.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,8 @@ Vector4.prototype = {
8686
default: throw new Error( 'index is out of range: ' + index );
8787

8888
}
89+
90+
return this;
8991

9092
},
9193

0 commit comments

Comments
 (0)