|
@@ -94,9 +94,9 @@ THREE.ArrowHelper.prototype.setLength = function ( length, headLength, headWidth
|
|
|
|
|
|
};
|
|
|
|
|
|
-THREE.ArrowHelper.prototype.setColor = function ( hex ) {
|
|
|
+THREE.ArrowHelper.prototype.setColor = function ( color ) {
|
|
|
|
|
|
- this.line.material.color.setHex( hex );
|
|
|
- this.cone.material.color.setHex( hex );
|
|
|
+ this.line.material.color.set( color );
|
|
|
+ this.cone.material.color.set( color );
|
|
|
|
|
|
};
|