MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / boundBox

Method boundBox

source/game/interfaces/StarPhysicsEntity.cpp:16–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14}
15
16RectF PhysicsMovingCollision::boundBox() const {
17 return collision.boundBox().translated(position);
18}
19
20void PhysicsMovingCollision::translate(Vec2F const& pos) {
21 position += pos;

Callers 7

renderMethod · 0.45
loungeAnchorMethod · 0.45
initMethod · 0.45
entityQueryImplFunction · 0.45
resolvePolyCollisionMethod · 0.45
polyCollisionMethod · 0.45

Calls 1

translatedMethod · 0.45

Tested by

no test coverage detected