Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

A Point is a Vector

  • Loading branch information...
commit d3cf1473d52d08beed1e7c63430dfed884132dd1 1 parent a49ff97
Benedikt Deicke authored March 27, 2011

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  src/gesticulate/geometry/point.js
4  src/gesticulate/geometry/point.js
@@ -7,7 +7,7 @@
7 7
  * - x (number): The point's x coordinate
8 8
  * - y (number): The point's y coordinate
9 9
  **/
10  
-Gesticulate.Geometry.Point = function (x, y) {
  10
+Gesticulate.Geometry.Point = Gesticulate.Geometry.Vector = function (x, y) {
11 11
   var self = this;
12 12
   this.x = x;
13 13
   this.y = y;
@@ -62,4 +62,4 @@ Gesticulate.Geometry.Point = function (x, y) {
62 62
   this.toString = function() {
63 63
     return ['(', this.x, ', ', this.y, ')'].join('');
64 64
   };
65  
-};
  65
+};

0 notes on commit d3cf147

Please sign in to comment.
Something went wrong with that request. Please try again.