tentone 6 years ago
parent
commit
66b48b9c14
4 changed files with 0 additions and 33 deletions
  1. 0 11
      build/diagram.js
  2. 0 0
      build/diagram.min.js
  3. 0 11
      build/diagram.module.js
  4. 0 11
      source/math/Vector2.js

+ 0 - 11
build/diagram.js

@@ -166,16 +166,6 @@
 			return this.multiplyScalar(1 / scalar);
 			return this.multiplyScalar(1 / scalar);
 		},
 		},
 
 
-		applyMatrix3: function(m)
-		{
-			var x = this.x,
-				y = this.y;
-			var e = m.elements;
-
-			this.x = e[0] * x + e[3] * y + e[6];
-			this.y = e[1] * x + e[4] * y + e[7];
-		},
-
 		min: function(v)
 		min: function(v)
 		{
 		{
 			this.x = Math.min(this.x, v.x);
 			this.x = Math.min(this.x, v.x);
@@ -231,7 +221,6 @@
 
 
 		roundToZero: function()
 		roundToZero: function()
 		{
 		{
-
 			this.x = (this.x < 0) ? Math.ceil(this.x) : Math.floor(this.x);
 			this.x = (this.x < 0) ? Math.ceil(this.x) : Math.floor(this.x);
 			this.y = (this.y < 0) ? Math.ceil(this.y) : Math.floor(this.y);
 			this.y = (this.y < 0) ? Math.ceil(this.y) : Math.floor(this.y);
 		},
 		},

File diff suppressed because it is too large
+ 0 - 0
build/diagram.min.js


+ 0 - 11
build/diagram.module.js

@@ -160,16 +160,6 @@ Object.assign(Vector2.prototype,
 		return this.multiplyScalar(1 / scalar);
 		return this.multiplyScalar(1 / scalar);
 	},
 	},
 
 
-	applyMatrix3: function(m)
-	{
-		var x = this.x,
-			y = this.y;
-		var e = m.elements;
-
-		this.x = e[0] * x + e[3] * y + e[6];
-		this.y = e[1] * x + e[4] * y + e[7];
-	},
-
 	min: function(v)
 	min: function(v)
 	{
 	{
 		this.x = Math.min(this.x, v.x);
 		this.x = Math.min(this.x, v.x);
@@ -225,7 +215,6 @@ Object.assign(Vector2.prototype,
 
 
 	roundToZero: function()
 	roundToZero: function()
 	{
 	{
-
 		this.x = (this.x < 0) ? Math.ceil(this.x) : Math.floor(this.x);
 		this.x = (this.x < 0) ? Math.ceil(this.x) : Math.floor(this.x);
 		this.y = (this.y < 0) ? Math.ceil(this.y) : Math.floor(this.y);
 		this.y = (this.y < 0) ? Math.ceil(this.y) : Math.floor(this.y);
 	},
 	},

+ 0 - 11
source/math/Vector2.js

@@ -96,16 +96,6 @@ Object.assign(Vector2.prototype,
 		return this.multiplyScalar(1 / scalar);
 		return this.multiplyScalar(1 / scalar);
 	},
 	},
 
 
-	applyMatrix3: function(m)
-	{
-		var x = this.x,
-			y = this.y;
-		var e = m.elements;
-
-		this.x = e[0] * x + e[3] * y + e[6];
-		this.y = e[1] * x + e[4] * y + e[7];
-	},
-
 	min: function(v)
 	min: function(v)
 	{
 	{
 		this.x = Math.min(this.x, v.x);
 		this.x = Math.min(this.x, v.x);
@@ -161,7 +151,6 @@ Object.assign(Vector2.prototype,
 
 
 	roundToZero: function()
 	roundToZero: function()
 	{
 	{
-
 		this.x = (this.x < 0) ? Math.ceil(this.x) : Math.floor(this.x);
 		this.x = (this.x < 0) ? Math.ceil(this.x) : Math.floor(this.x);
 		this.y = (this.y < 0) ? Math.ceil(this.y) : Math.floor(this.y);
 		this.y = (this.y < 0) ? Math.ceil(this.y) : Math.floor(this.y);
 	},
 	},

Some files were not shown because too many files changed in this diff