Browse Source

* Minor tweaks on Rectangle.js

Mr.doob 14 years ago
parent
commit
b978e9e592
3 changed files with 2 additions and 3 deletions
  1. 0 0
      build/Three.js
  2. 0 0
      build/ThreeDebug.js
  3. 2 3
      src/core/Rectangle.js

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


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


+ 2 - 3
src/core/Rectangle.js

@@ -5,8 +5,7 @@
 THREE.Rectangle = function () {
 THREE.Rectangle = function () {
 
 
 	var _left, _top, _right, _bottom,
 	var _left, _top, _right, _bottom,
-	_width, _height,
-	_isEmpty = true;
+	_width, _height, _isEmpty = true;
 
 
 	function resize() {
 	function resize() {
 
 
@@ -171,7 +170,7 @@ THREE.Rectangle = function () {
 
 
 	this.toString = 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 + " )";
 
 
 	};
 	};
 
 

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