2
0
Эх сурвалжийг харах

Vector4 toArray(): return array

Alexander Rose 10 жил өмнө
parent
commit
fab56e5a67
1 өөрчлөгдсөн 2 нэмэгдсэн , 0 устгасан
  1. 2 0
      src/math/Vector4.js

+ 2 - 0
src/math/Vector4.js

@@ -644,6 +644,8 @@ THREE.Vector4.prototype = {
 			array[ offset + 1 ] = this.y;
 			array[ offset + 2 ] = this.z;
 			array[ offset + 3 ] = this.w;
+			
+			return array;
 
 		} else {