From 28da2a26238ff76f87f4e086a9832a5478c35b23 Mon Sep 17 00:00:00 2001 From: Julie Lala Date: Tue, 15 Apr 2014 20:13:49 -0400 Subject: nomenclature --- rect.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rect.js') diff --git a/rect.js b/rect.js index f1f19e1..94a537b 100644 --- a/rect.js +++ b/rect.js @@ -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 -- cgit v1.2.3-70-g09d2