From 8b453f4dbafe54bedc322f961044976d7659b3f1 Mon Sep 17 00:00:00 2001 From: Richard Davey Date: Thu, 7 Dec 2017 02:19:27 +0000 Subject: [PATCH] Removed short-hand aliases. --- v3/src/math/Matrix3.js | 4 ---- v3/src/math/Vector2.js | 8 -------- 2 files changed, 12 deletions(-) diff --git a/v3/src/math/Matrix3.js b/v3/src/math/Matrix3.js index f06a1be02..911dfe709 100644 --- a/v3/src/math/Matrix3.js +++ b/v3/src/math/Matrix3.js @@ -408,8 +408,4 @@ var Matrix3 = new Class({ }); -Matrix3.prototype.mul = Matrix3.prototype.multiply; -Matrix3.prototype.idt = Matrix3.prototype.identity; -Matrix3.prototype.reset = Matrix3.prototype.identity; - module.exports = Matrix3; diff --git a/v3/src/math/Vector2.js b/v3/src/math/Vector2.js index 6cb2213a1..7d49a2822 100644 --- a/v3/src/math/Vector2.js +++ b/v3/src/math/Vector2.js @@ -260,12 +260,4 @@ var Vector2 = new Class({ }); -Vector2.prototype.sub = Vector2.prototype.subtract; -Vector2.prototype.mul = Vector2.prototype.multiply; -Vector2.prototype.div = Vector2.prototype.divide; -Vector2.prototype.dist = Vector2.prototype.distance; -Vector2.prototype.distSq = Vector2.prototype.distanceSq; -Vector2.prototype.len = Vector2.prototype.length; -Vector2.prototype.lenSq = Vector2.prototype.lengthSq; - module.exports = Vector2;