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

Method armPosition

source/game/items/StarActiveItem.cpp:336–338  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

334}
335
336Vec2F ActiveItem::armPosition(Vec2F const& offset) const {
337 return owner()->armPosition(hand(), owner()->facingDirection(), m_armAngle.get(), offset);
338}
339
340Vec2F ActiveItem::handPosition(Vec2F const& offset) const {
341 return armPosition(offset + owner()->handOffset(hand(), owner()->facingDirection()));

Callers 1

Calls 2

facingDirectionMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected