Browse Source

#9735: Fixed copy method in THREE.Spherical (#9737)

Michael Herzog 9 years ago
parent
commit
eaf04aab5a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/math/Spherical.js

+ 3 - 3
src/math/Spherical.js

@@ -42,9 +42,9 @@ Spherical.prototype = {
 
 
 	copy: function ( other ) {
 	copy: function ( other ) {
 
 
-		this.radius.copy( other.radius );
-		this.phi.copy( other.phi );
-		this.theta.copy( other.theta );
+		this.radius = other.radius;
+		this.phi = other.phi;
+		this.theta = other.theta;
 
 
 		return this;
 		return this;