mirror of
https://github.com/love2d/love.git
synced 2026-08-12 08:30:56 +02:00
Fixed some internal documentation (thanks to clang's -Wdocumentation)
This commit is contained in:
@@ -274,10 +274,10 @@ int Physics::getDistance(lua_State *L)
|
||||
return 5;
|
||||
}
|
||||
|
||||
void Physics::setMeter(int meter)
|
||||
void Physics::setMeter(int scale)
|
||||
{
|
||||
if (meter < 1) throw love::Exception("Physics error: invalid meter");
|
||||
Physics::meter = meter;
|
||||
if (scale < 1) throw love::Exception("Physics error: invalid meter");
|
||||
Physics::meter = scale;
|
||||
}
|
||||
|
||||
int Physics::getMeter()
|
||||
|
||||
Reference in New Issue
Block a user