|
@@ -92,8 +92,6 @@ THREE.Vector3.prototype = {
|
|
|
|
|
|
add: function ( v ) {
|
|
|
|
|
|
- if ( arguments.length > 1 ) debugger;
|
|
|
-
|
|
|
this.x += v.x;
|
|
|
this.y += v.y;
|
|
|
this.z += v.z;
|
|
@@ -124,8 +122,6 @@ THREE.Vector3.prototype = {
|
|
|
|
|
|
sub: function ( v ) {
|
|
|
|
|
|
- if ( arguments.length > 1 ) debugger;
|
|
|
-
|
|
|
this.x -= v.x;
|
|
|
this.y -= v.y;
|
|
|
this.z -= v.z;
|
|
@@ -146,8 +142,6 @@ THREE.Vector3.prototype = {
|
|
|
|
|
|
multiply: function ( v ) {
|
|
|
|
|
|
- if ( arguments.length > 1 ) debugger;
|
|
|
-
|
|
|
this.x *= v.x;
|
|
|
this.y *= v.y;
|
|
|
this.z *= v.z;
|
|
@@ -414,8 +408,6 @@ THREE.Vector3.prototype = {
|
|
|
|
|
|
cross: function ( v ) {
|
|
|
|
|
|
- if ( arguments.length > 1 ) debugger;
|
|
|
-
|
|
|
var x = this.x, y = this.y, z = this.z;
|
|
|
|
|
|
this.x = y * v.z - z * v.y;
|