Skip to content

Commit

Permalink
* Minor tweaks on Rectangle.js
Browse files Browse the repository at this point in the history
  • Loading branch information
mrdoob committed Nov 12, 2010
1 parent 0340404 commit b978e9e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion build/Three.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion build/ThreeDebug.js

Large diffs are not rendered by default.

5 changes: 2 additions & 3 deletions src/core/Rectangle.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
THREE.Rectangle = function () {

var _left, _top, _right, _bottom,
_width, _height,
_isEmpty = true;
_width, _height, _isEmpty = true;

function resize() {

Expand Down Expand Up @@ -171,7 +170,7 @@ THREE.Rectangle = function () {

this.toString = function () {

return "THREE.Rectangle (x1: " + _left + ", y1: " + _bottom + ", x2: " + _right + ", y1: " + _top + ", width: " + _width + ", height: " + _height + ")";
return "THREE.Rectangle ( left: " + _left + ", right: " + _right + ", top: " + _top + ", bottom: " + _bottom + ", width: " + _width + ", height: " + _height + " )";

};

Expand Down

0 comments on commit b978e9e

Please sign in to comment.