diff options
| author | Jules Laplace <jules@okfoc.us> | 2014-11-03 13:16:05 -0500 |
|---|---|---|
| committer | Jules Laplace <jules@okfoc.us> | 2014-11-03 13:16:05 -0500 |
| commit | 7e20e81927b4d52de2f54c0923c65869f4c253ee (patch) | |
| tree | 8ff3f93d6154db9a5a39f7c254333162ff106e1d | |
| parent | 18f1bc14f610cdb0dddd273e8c55ea5c2e547a94 (diff) | |
z
| -rw-r--r-- | public/assets/javascripts/rectangles/engine/rooms/mover.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/public/assets/javascripts/rectangles/engine/rooms/mover.js b/public/assets/javascripts/rectangles/engine/rooms/mover.js index 5682be8..ac27aba 100644 --- a/public/assets/javascripts/rectangles/engine/rooms/mover.js +++ b/public/assets/javascripts/rectangles/engine/rooms/mover.js @@ -117,7 +117,6 @@ Rooms.mover = new function(){ wall.get_points(wall_vec) - t = perp(origins, wall_vec) / ( perp(cursor_copy, wall_vec) || 0.0000001 ) if ( min_t < t || t < 0 || 1 < t ) return @@ -240,13 +239,13 @@ Rooms.mover = new function(){ wall_vec.normalize = function(){ var carry if (this.x.a > this.y.a) { - console.log("SWAP X") +// console.log("SWAP X") carry = this.x.a this.x.a = this.y.a this.y.a = carry } if (this.x.b > this.y.b) { - console.log("SWAP Y") +// console.log("SWAP Y") carry = this.x.b this.x.b = this.y.b this.y.b = carry |
