Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/IppClub/Dora-SSR
/ getGravity
Method
getGravity
Source/Platformer/BulletDef.cpp:60–62 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
58
}
59
60
Vec2 BulletDef::getGravity() const noexcept {
61
return _bodyDef->getLinearAcceleration();
62
}
63
64
void BulletDef::setAsCircle(float radius) {
65
_bodyDef->clearFixtures();
Callers
1
platformer_bulletdef_get_gravity
Function · 0.45
Calls
1
getLinearAcceleration
Method · 0.80
Tested by
no test coverage detected