mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-24 17:04:17 +00:00
Fix Matrix4::operator[] annotation (#1390)
This commit is contained in:
committed by
GitHub
parent
5e5b048b34
commit
ea5a722311
@@ -234,7 +234,7 @@ MxResult LegoPathActor::VTable0x84(
|
||||
|
||||
// FUNCTION: LEGO1 0x1002e100
|
||||
// FUNCTION: BETA10 0x100b0520
|
||||
MxS32 LegoPathActor::VTable0x8c(float p_time, MxMatrix& p_transform)
|
||||
MxS32 LegoPathActor::VTable0x8c(float p_time, Matrix4& p_transform)
|
||||
{
|
||||
if (m_userNavFlag && m_actorState == c_initial) {
|
||||
m_lastTime = p_time;
|
||||
|
||||
@@ -704,7 +704,9 @@ MxResult LegoAnimPresenter::FUN_1006b140(LegoROI* p_roi)
|
||||
return FAILURE;
|
||||
}
|
||||
|
||||
MxMatrix* mn = new MxMatrix();
|
||||
Matrix4* mn = new MxMatrix();
|
||||
assert(mn);
|
||||
|
||||
MxMatrix local58;
|
||||
const Matrix4& local2world = p_roi->GetLocal2World();
|
||||
MxMatrix* local5c;
|
||||
@@ -725,7 +727,7 @@ MxResult LegoAnimPresenter::FUN_1006b140(LegoROI* p_roi)
|
||||
}
|
||||
|
||||
{
|
||||
((Matrix4*) mn)->Product(local58, local2world);
|
||||
mn->Product(local58, local2world);
|
||||
SetUnknown0xa0(mn);
|
||||
delete[] local5c;
|
||||
SetUnknown0x0cTo1();
|
||||
@@ -734,7 +736,7 @@ MxResult LegoAnimPresenter::FUN_1006b140(LegoROI* p_roi)
|
||||
MxMatrix localf8;
|
||||
|
||||
localf8.Product(local140, *m_unk0xa0);
|
||||
((Matrix4&) *m_unk0x78) = localf8;
|
||||
*m_unk0x78 = localf8;
|
||||
return SUCCESS;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user