MCPcopy Create free account
hub / github.com/Open-GD/OpenGD / getOuterBounds

Method getOuterBounds

Source/GameObject.cpp:872–882  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

870}
871
872ax::Rect GameObject::getOuterBounds(float a, float b)
873{
874 ax::Rect r = getOuterBounds();
875 r.origin.x += r.size.width / 2;
876 r.origin.y += r.size.height / 2;
877 r.size.width *= a;
878 r.size.height *= b;
879 r.origin.x -= r.size.width / 2;
880 r.origin.y -= r.size.height / 2;
881 return r;
882}
883
884std::string_view GameObject::getGlowFrame(int objectID)
885{

Callers 2

checkCollisionsMethod · 0.45
collidedWithObjectMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected