mirror of
https://github.com/SMGCommunity/Petari.git
synced 2024-11-23 21:49:45 +00:00
Match MarioActor::updateBaseScaleMtx
This commit is contained in:
parent
c012856bd5
commit
ccdb433149
@ -213,7 +213,7 @@ doPressing__10MarioActorFv,MarioActor.o,Player.a,true
|
||||
careMovingObject__10MarioActorFv,MarioActor.o,Player.a,true
|
||||
doStun__10MarioActorFv,MarioActor.o,Player.a,true
|
||||
scaleMtx__10MarioActorFPA4_f,MarioActor.o,Player.a,true
|
||||
updateBaseScaleMtx__10MarioActorFv,MarioActor.o,Player.a,false
|
||||
updateBaseScaleMtx__10MarioActorFv,MarioActor.o,Player.a,true
|
||||
getRealMtx__10MarioActorCFPA4_fPCc,MarioActor.o,Player.a,false
|
||||
getRealPos__10MarioActorCFPCcPQ29JGeometry8TVec3<f>,MarioActor.o,Player.a,false
|
||||
getGlobalJointMtx__10MarioActorFPCc,MarioActor.o,Player.a,false
|
||||
|
|
@ -44,6 +44,7 @@ u32 PSMTXInverse(const Mtx, Mtx);
|
||||
void PSMTXMultVec(const Mtx, const Vec *, Vec *);
|
||||
|
||||
void PSMTXScaleApply(const Mtx, Mtx, f32, f32, f32);
|
||||
void PSMTXScale(Mtx, f32, f32, f32);
|
||||
|
||||
void PSMTXRotAxisRad(Mtx dst, const Vec *, f32);
|
||||
|
||||
|
@ -1006,3 +1006,8 @@ void MarioActor::scaleMtx(MtxPtr rawMtx) {
|
||||
rawMtx[1][2] = stack_2c.y;
|
||||
rawMtx[2][2] = stack_2c.z;
|
||||
}
|
||||
|
||||
void MarioActor::updateBaseScaleMtx() {
|
||||
if(_230 -> _8_3c) PSMTXScale(_bf8.toMtxPtr(), mScale.x, mScale.y, mScale.z);
|
||||
else PSMTXIdentity(_bf8.toMtxPtr());
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user