diff options
author | Kris Kowal | 2012-07-06 11:52:06 -0700 |
---|---|---|
committer | Kris Kowal | 2012-07-06 15:01:48 -0700 |
commit | 648ee61ae84216d0236e0dbc211addc13b2cfa3a (patch) | |
tree | 8f0f55557bd0c47a84e49c1977c950645d284607 /js/helper-classes/3D/Rectangle.js | |
parent | aedd14b18695d031f695d27dfbd94df5614495bb (diff) | |
download | ninja-648ee61ae84216d0236e0dbc211addc13b2cfa3a.tar.gz |
Expand tabs
Diffstat (limited to 'js/helper-classes/3D/Rectangle.js')
-rwxr-xr-x | js/helper-classes/3D/Rectangle.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/js/helper-classes/3D/Rectangle.js b/js/helper-classes/3D/Rectangle.js index 1922bd91..fb6127ed 100755 --- a/js/helper-classes/3D/Rectangle.js +++ b/js/helper-classes/3D/Rectangle.js | |||
@@ -67,7 +67,7 @@ var Rectangle = exports.Rectangle = Object.create(Object.prototype, { | |||
67 | getHeight: { value: function() { return this.m_height; } }, | 67 | getHeight: { value: function() { return this.m_height; } }, |
68 | setHeight: { value: function(h) { this.m_height = h; } }, | 68 | setHeight: { value: function(h) { this.m_height = h; } }, |
69 | 69 | ||
70 | geomType: { value: function() { return this.GEOM_TYPE_RECTANGLE; } }, | 70 | geomType: { value: function() { return this.GEOM_TYPE_RECTANGLE; } }, |
71 | 71 | ||
72 | /////////////////////////////////////////////////////////////////////// | 72 | /////////////////////////////////////////////////////////////////////// |
73 | // Methods | 73 | // Methods |
@@ -84,7 +84,7 @@ var Rectangle = exports.Rectangle = Object.create(Object.prototype, { | |||
84 | } | 84 | } |
85 | }, | 85 | }, |
86 | 86 | ||
87 | dup: { | 87 | dup: { |
88 | value: function() | 88 | value: function() |
89 | { | 89 | { |
90 | var rtnRec = Object.create(Rectangle, {}); | 90 | var rtnRec = Object.create(Rectangle, {}); |
@@ -122,7 +122,7 @@ var Rectangle = exports.Rectangle = Object.create(Object.prototype, { | |||
122 | } | 122 | } |
123 | }, | 123 | }, |
124 | 124 | ||
125 | setToBounds: { | 125 | setToBounds: { |
126 | value: function( bounds ) | 126 | value: function( bounds ) |
127 | { | 127 | { |
128 | var pt = bounds[0]; | 128 | var pt = bounds[0]; |
@@ -166,7 +166,7 @@ var Rectangle = exports.Rectangle = Object.create(Object.prototype, { | |||
166 | } | 166 | } |
167 | }, | 167 | }, |
168 | 168 | ||
169 | getQuadrant: { | 169 | getQuadrant: { |
170 | value: function( iQuad ) | 170 | value: function( iQuad ) |
171 | { | 171 | { |
172 | // quadrant ordering starts at upper left and continues around counter-clockwise | 172 | // quadrant ordering starts at upper left and continues around counter-clockwise |