Renamed ChainShape:setPrevVertex to ChainShape:setPreviousVertex (see issue #691)

This commit is contained in:
Alex Szpakowski
2013-10-07 23:49:49 -03:00
parent 4fa7347e26
commit 951f5740bb
4 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -55,11 +55,11 @@ void ChainShape::setNextVertex(float x, float y)
c->SetNextVertex(Physics::scaleDown(v));
}
void ChainShape::setPrevVertex(float x, float y)
void ChainShape::setPreviousVertex(float x, float y)
{
if (loop)
{
throw love::Exception("Physics error: Can't call setPrevVertex on a loop ChainShape");
throw love::Exception("Physics error: Can't call setPreviousVertex on a loop ChainShape");
return;
}
b2Vec2 v(x, y);