@@ -79,8 +79,8 @@ THREE.Box3.prototype = {
copy: function ( box ) {
- this.min = box.min;
- this.max = box.max;
+ this.min.copy( box.min );
+ this.max.copy( box.max );
return this;
},
@@ -50,8 +50,8 @@ THREE.Plane.prototype = {
copy: function ( plane ) {
- this.normal = plane.normal;
- this.constant = plane.constant;
+ this.normal.copy( plane.normal );
+ this.constant = plane.constant.clone();
@@ -37,8 +37,8 @@ THREE.Sphere.prototype = {
copy: function ( sphere ) {
- this.center = sphere.center;
- this.radius = sphere.radius;
+ this.center.copy( sphere.center );
+ this.radius = sphere.radius.clone();