mirror of
https://github.com/zeldaret/tww.git
synced 2026-06-26 17:52:03 -04:00
Minor changes to d_a_branch
This commit is contained in:
@@ -61,10 +61,9 @@ void daBranch_c::set_mtx() {
|
||||
if (pMdl) {
|
||||
pMdl->setBaseScale(mScale);
|
||||
|
||||
MTXTrans(mDoMtx_stack_c::now, current.pos.x, current.pos.y, current.pos.z);
|
||||
mDoMtx_XYZrotM(mDoMtx_stack_c::now, current.angle.x, current.angle.y, current.angle.z);
|
||||
|
||||
MTXCopy(mDoMtx_stack_c::now, pMdl->getBaseTRMtx());
|
||||
mDoMtx_stack_c::transS(getPosition());
|
||||
mDoMtx_stack_c::XYZrotM(getAngle().x, getAngle().y, getAngle().z);
|
||||
pMdl->i_setBaseTRMtx(mDoMtx_stack_c::get());
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -142,7 +141,7 @@ s32 daBranch_c::CreateHeap() {
|
||||
break;
|
||||
}
|
||||
|
||||
mAnims[i]->mFrameCtrl.setFrame(0.0f);
|
||||
mAnims[i]->setFrame(0.0f);
|
||||
set_anim(i, bckIds[i], basIds[i]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user