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

Method doFirstRotate

src/Sato/ItemGTurtle.cpp:480–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

478}
479
480void ItemGTurtle::doFirstRotate() {
481 if (mFirstRotate) {
482 _2cc += sFirstRotAdd;
483 JGeometry::TPos3f m;
484 m.setRotate(mXDir, _2cc);
485 m.zeroTrans();
486 stMtx2Qt(&_44, m);
487 if (_2cc >= F_TAU) {
488 mFirstRotate = false;
489 }
490 }
491}
492
493void ItemGTurtle::doSound(u32 soundID) {
494 if (mSoundMgr) {

Callers

nothing calls this directly

Calls 3

stMtx2QtFunction · 0.85
zeroTransMethod · 0.80
setRotateMethod · 0.45

Tested by

no test coverage detected