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

Method metaBoundBox

source/game/StarNpc.cpp:229–231  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

227}
228
229RectF Npc::metaBoundBox() const {
230 return RectF(-4, -4, 4, 4);
231}
232
233Vec2F Npc::mouthOffset(bool ignoreAdjustments) const {
234 return Vec2F{m_humanoid.mouthOffset(ignoreAdjustments)[0] * numericalDirection(m_humanoid.facingDirection()),

Callers 12

addEntityMethod · 0.45
updateAllEntitiesMethod · 0.45
forEachEntityLineMethod · 0.45
findEntityLineMethod · 0.45
interactiveEntityNearMethod · 0.45
updateMethod · 0.45
queryHitMethod · 0.45
updateMethod · 0.45
updateTileEntityTilesMethod · 0.45
monitoringRegionsMethod · 0.45
updateMethod · 0.45
mainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected