Merge branch 'develop' of https://github.com/cocos2d/cocos2d-x into iss2378-remove-CC_PROPERTY

This commit is contained in:
James Chen 2013-07-23 20:47:39 +08:00
commit ab7d57feb7
1 changed files with 2 additions and 2 deletions

View File

@ -45,9 +45,9 @@ void ccVertexLineToPolygon(Point *points, float stroke, Vertex2F *vertices, unsi
Point perpVector;
if(i == 0)
(p1 - points[i+1]).normalize().getPerp();
perpVector = (p1 - points[i+1]).normalize().getPerp();
else if(i == nuPointsMinus)
(points[i-1] - p1).normalize().getPerp();
perpVector = (points[i-1] - p1).normalize().getPerp();
else
{
Point p2 = points[i+1];