mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-25 01:14:19 +00:00
rename functions and parameters in OrientableROI (#1512)
This commit is contained in:
@@ -442,8 +442,8 @@ MxResult LegoNavController::UpdateLocation(const char* p_location)
|
||||
Mx3DPointFloat vec;
|
||||
vec.Clear();
|
||||
|
||||
viewROI->FUN_100a5a30(vec);
|
||||
viewROI->WrappedSetLocalTransform(mat);
|
||||
viewROI->SetWorldVelocity(vec);
|
||||
viewROI->WrappedSetLocal2WorldWithWorldDataUpdate(mat);
|
||||
VideoManager()->Get3DManager()->Moved(*viewROI);
|
||||
|
||||
SoundManager()->UpdateListener(
|
||||
@@ -480,8 +480,8 @@ MxResult LegoNavController::UpdateLocation(MxU32 p_location)
|
||||
Mx3DPointFloat vec;
|
||||
vec.Clear();
|
||||
|
||||
viewROI->FUN_100a5a30(vec);
|
||||
viewROI->WrappedSetLocalTransform(mat);
|
||||
viewROI->SetWorldVelocity(vec);
|
||||
viewROI->WrappedSetLocal2WorldWithWorldDataUpdate(mat);
|
||||
VideoManager()->Get3DManager()->Moved(*viewROI);
|
||||
|
||||
SoundManager()->UpdateListener(
|
||||
@@ -930,7 +930,7 @@ MxLong LegoNavController::Notify(MxParam& p_param)
|
||||
MxMatrix mat;
|
||||
mat.SetIdentity();
|
||||
mat.RotateX(0.2618f);
|
||||
roi->WrappedVTable0x24(mat);
|
||||
roi->WrappedUpdateWorldDataWithTransform(mat);
|
||||
break;
|
||||
}
|
||||
case 'J': {
|
||||
@@ -938,7 +938,7 @@ MxLong LegoNavController::Notify(MxParam& p_param)
|
||||
MxMatrix mat;
|
||||
mat.SetIdentity();
|
||||
mat.RotateZ(0.2618f);
|
||||
roi->WrappedVTable0x24(mat);
|
||||
roi->WrappedUpdateWorldDataWithTransform(mat);
|
||||
break;
|
||||
}
|
||||
case 'K': {
|
||||
@@ -946,7 +946,7 @@ MxLong LegoNavController::Notify(MxParam& p_param)
|
||||
LegoROI* roi = LegoOmni::GetInstance()->GetVideoManager()->GetViewROI();
|
||||
mat.SetIdentity();
|
||||
mat.RotateZ(-0.2618f);
|
||||
roi->WrappedVTable0x24(mat);
|
||||
roi->WrappedUpdateWorldDataWithTransform(mat);
|
||||
break;
|
||||
}
|
||||
case 'L':
|
||||
@@ -957,7 +957,7 @@ MxLong LegoNavController::Notify(MxParam& p_param)
|
||||
MxMatrix mat;
|
||||
mat.SetIdentity();
|
||||
mat.RotateX(-0.2618f);
|
||||
roi->WrappedVTable0x24(mat);
|
||||
roi->WrappedUpdateWorldDataWithTransform(mat);
|
||||
break;
|
||||
}
|
||||
case 'N':
|
||||
|
||||
Reference in New Issue
Block a user