MCPcopy Create free account
hub / github.com/doldecomp/mkdd / doEnding

Method doEnding

src/Sato/GeoItemBox.cpp:367–377  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

365}
366
367void GeoItemBox::doEnding() {
368 f32 scalar = (++_180);
369 if (scalar < 1.0) {
370 mScale = mObjData->scale;
371 mScale.scale(1.0f - scalar);
372 }
373 else {
374 doHide();
375 }
376 mShadowMdl->getModel()->setBaseScale(mScale);
377}
378
379void GeoItemBox::doHide() {
380 mMode = 0;

Callers

nothing calls this directly

Calls 3

scaleMethod · 0.45
setBaseScaleMethod · 0.45
getModelMethod · 0.45

Tested by

no test coverage detected