PrincessGod 6 年 前
コミット
ba4695fd86
1 ファイル変更2 行追加2 行削除
  1. 2 2
      src/helpers/ArrowHelper.js

+ 2 - 2
src/helpers/ArrowHelper.js

@@ -114,8 +114,8 @@ ArrowHelper.prototype.setLength = function ( length, headLength, headWidth ) {
 
 ArrowHelper.prototype.setColor = function ( color ) {
 
-	this.line.material.color.copy( color );
-	this.cone.material.color.copy( color );
+	this.line.material.color.set( color );
+	this.cone.material.color.set( color );
 
 };