* Minor tweaks on Rectangle.js

This commit is contained in:
Mr.doob
2010-11-12 04:19:21 +00:00
parent 0340404cfc
commit b978e9e592
3 changed files with 4 additions and 5 deletions
+1 -1
View File
File diff suppressed because one or more lines are too long
+1 -1
View File
File diff suppressed because one or more lines are too long
+2 -3
View File
@@ -5,8 +5,7 @@
THREE.Rectangle = function () {
var _left, _top, _right, _bottom,
_width, _height,
_isEmpty = true;
_width, _height, _isEmpty = true;
function resize() {
@@ -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 + " )";
};