提交 a851b6b6 编写于 作者: M Mr.doob

Removed debugger bits.

上级 b062fee8
......@@ -250,8 +250,6 @@ THREE.Matrix4.prototype = {
multiply: function ( m ) {
if ( arguments.length > 1 ) debugger;
return this.multiplyMatrices( this, m );
},
......
......@@ -233,9 +233,8 @@ THREE.Quaternion.prototype = {
multiply: function ( b ) {
if ( arguments.length > 1 ) debugger;
// from http://www.euclideanspace.com/maths/algebra/realNormedAlgebra/quaternions/code/index.htm
var qax = this.x, qay = this.y, qaz = this.z, qaw = this.w,
qbx = b.x, qby = b.y, qbz = b.z, qbw = b.w;
......
......@@ -77,8 +77,6 @@ THREE.Vector2.prototype = {
add: function ( v ) {
if ( arguments.length > 1 ) debugger;
this.x += v.x;
this.y += v.y;
......
......@@ -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;
......
......@@ -103,8 +103,6 @@ THREE.Vector4.prototype = {
add: function ( v ) {
if ( arguments.length > 1 ) debugger;
this.x += v.x;
this.y += v.y;
this.z += v.z;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册