Permalink
Browse files

exposed getNumVerts and getVert functions

  • Loading branch information...
1 parent 1ce2f36 commit 8d55bf2265849ea52cfb23203fc20103e0db0e7a @Wu-Hao committed Nov 8, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 cp.js
View
2 cp.js
@@ -1236,7 +1236,7 @@ PolyShape.prototype.segmentQuery = function(a, b)
};
-PolyShape.getNumVerts = function()
+PolyShape.prototype.getNumVerts = function()
{
return this.verts.length/2;
};

0 comments on commit 8d55bf2

Please sign in to comment.