1
0
matthias-w 9 жил өмнө
parent
commit
8caf9c5d45

+ 2 - 0
src/math/Vector2.js

@@ -87,6 +87,8 @@ Vector2.prototype = {
 			default: throw new Error( 'index is out of range: ' + index );
 			default: throw new Error( 'index is out of range: ' + index );
 
 
 		}
 		}
+		
+		return this;
 
 
 	},
 	},
 
 

+ 2 - 0
src/math/Vector3.js

@@ -79,6 +79,8 @@ Vector3.prototype = {
 			default: throw new Error( 'index is out of range: ' + index );
 			default: throw new Error( 'index is out of range: ' + index );
 
 
 		}
 		}
+		
+		return this;
 
 
 	},
 	},
 
 

+ 2 - 0
src/math/Vector4.js

@@ -86,6 +86,8 @@ Vector4.prototype = {
 			default: throw new Error( 'index is out of range: ' + index );
 			default: throw new Error( 'index is out of range: ' + index );
 
 
 		}
 		}
+		
+		return this;
 
 
 	},
 	},
 
 

粤ICP备19079148号