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

Method collisionBody

source/game/StarMovementController.cpp:281–286  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

279}
280
281PolyF MovementController::collisionBody() const {
282 auto poly = collisionPoly();
283 poly.rotate(rotation());
284 poly.translate(position());
285 return poly;
286}
287
288RectF MovementController::localBoundBox() const {
289 auto poly = collisionPoly();

Callers 14

queryHitMethod · 0.45
hitPolyMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45
queryHitMethod · 0.45
hitPolyMethod · 0.45
updateMethod · 0.45
updateMethod · 0.45
tickMasterMethod · 0.45
queryHitMethod · 0.45
hitPolyMethod · 0.45

Calls 2

rotateMethod · 0.45
translateMethod · 0.45

Tested by

no test coverage detected