Permalink
Browse files

Merge branch 'master' of github.com:josephg/Chipmunk-js

  • Loading branch information...
2 parents a9d654e + fcad807 commit 3fa19366cf646a7f0c68bc7f603554d911dcad3f @josephg committed Jan 2, 2012
Showing with 6 additions and 6 deletions.
  1. +2 −2 cp.js
  2. +2 −2 cp.min.js
  3. +2 −2 lib/cpVect.js
View
4 cp.js
@@ -249,9 +249,9 @@ var Vect = exports.Vect = function(x, y)
// traces[s] = traces[s] ? traces[s]+1 : 1;
};
-exports.v = {};
+exports.v = function (x,y) { return new Vect(x, y) };
-var vzero = new Vect(0,0);
+var vzero = exports.vzero = new Vect(0,0);
// The functions below *could* be rewritten to be instance methods on Vect. I don't
// know how that would effect performance. For now, I'm keeping the JS similar to
Oops, something went wrong.

0 comments on commit 3fa1936

Please sign in to comment.