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

Method groupTransformation

source/game/StarNetworkedAnimator.cpp:337–342  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

335}
336
337Mat3F NetworkedAnimator::groupTransformation(StringList const& transformationGroups) const {
338 auto mat = Mat3F::identity();
339 for (auto const& tg : transformationGroups)
340 mat = m_transformationGroups.get(tg).affineTransform() * mat;
341 return mat;
342}
343
344Mat3F NetworkedAnimator::partTransformation(String const& partName) const {
345 auto const& part = m_animatedParts.activePart(partName);

Callers

nothing calls this directly

Calls 3

identityClass · 0.85
affineTransformMethod · 0.80
getMethod · 0.45

Tested by

no test coverage detected