mirror of
https://github.com/love2d/love.git
synced 2026-08-15 15:51:12 +02:00
Renamed ChainShape:setPrevVertex to ChainShape:setPreviousVertex (see issue #691)
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user