| 658 | void ItemFlyTurtle::moveCannon(CrsGround &rGround) { moveNormal(rGround); } |
| 659 | |
| 660 | void ItemFlyTurtle::initDisappear() { |
| 661 | _12c &= ~1; |
| 662 | mEquipFlags = 0xffffffff; |
| 663 | _12c |= 0x80; |
| 664 | |
| 665 | JGeometry::TVec3f norm, frDir; |
| 666 | getModelFrDir(&frDir); |
| 667 | if(mTransferFlags & 2) { |
| 668 | norm = (mNormal); |
| 669 | } |
| 670 | else { |
| 671 | norm.set(0.0f, 1.0f, 0.0f); |
| 672 | } |
| 673 | |
| 674 | JGeometry::TMtx34f r_m; |
| 675 | ObjUtility::setRMtx(r_m, norm, frDir); |
| 676 | r_m[0][3] = mColPos.x; |
| 677 | r_m[1][3] = mColPos.y; |
| 678 | r_m[2][3] = mColPos.z; |
| 679 | mNewBounds = mBounds; |
| 680 | mBounds = mBombEffect->getBlastBound(); |
| 681 | mBombEffect->init(r_m,1, 1.0f); |
| 682 | } |
| 683 | |
| 684 | void ItemFlyTurtle::doDisappear() { |
| 685 | mDisScaleAnm.setAll(mEquipScale); |
nothing calls this directly
no test coverage detected