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

Method localBoundBox

source/game/StarMovementController.cpp:288–292  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

286}
287
288RectF MovementController::localBoundBox() const {
289 auto poly = collisionPoly();
290 poly.rotate(rotation());
291 return poly.boundBox();
292}
293
294RectF MovementController::collisionBoundBox() const {
295 return collisionBody().boundBox();

Callers

nothing calls this directly

Calls 2

rotateMethod · 0.45
boundBoxMethod · 0.45

Tested by

no test coverage detected