diff options
| author | Julie Lala <jules@okfoc.us> | 2014-04-15 20:13:49 -0400 |
|---|---|---|
| committer | Julie Lala <jules@okfoc.us> | 2014-04-15 20:13:49 -0400 |
| commit | 28da2a26238ff76f87f4e086a9832a5478c35b23 (patch) | |
| tree | 39cfb3f33fb5100234397baecb9037c26daa7fe3 /rect.js | |
| parent | 2fdd2f4ee268b8d159e57a91bb0dbf977f6fecef (diff) | |
nomenclature
Diffstat (limited to 'rect.js')
| -rw-r--r-- | rect.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -22,7 +22,7 @@ rect.prototype.center = function(){ rect.prototype.area = function(){ return this.x.length() * this.y.length() } -rect.prototype.normalize = function(){ +rect.prototype.translate = function(){ this.x.abs().add(this.translation.a) this.y.abs().add(this.translation.b) this.translation.a = this.translation.b = 0 |
