mirror of
https://github.com/isledecomp/isle.git
synced 2025-12-09 23:53:02 +00:00
Clear unknown in TimeROI (#1631)
This commit is contained in:
@@ -171,7 +171,7 @@ void LegoCameraController::FUN_100123e0(const Matrix4& p_transform, MxU32 p_und)
|
|||||||
mat = p_transform;
|
mat = p_transform;
|
||||||
}
|
}
|
||||||
|
|
||||||
((TimeROI*) pov)->FUN_100a9b40(mat, Timer()->GetTime());
|
((TimeROI*) pov)->CalculateWorldVelocity(mat, Timer()->GetTime());
|
||||||
pov->WrappedSetLocal2WorldWithWorldDataUpdate(mat);
|
pov->WrappedSetLocal2WorldWithWorldDataUpdate(mat);
|
||||||
m_lego3DView->Moved(*pov);
|
m_lego3DView->Moved(*pov);
|
||||||
|
|
||||||
|
|||||||
@@ -153,7 +153,7 @@ MxResult LegoPointOfViewController::Tickle()
|
|||||||
MxMatrix mat;
|
MxMatrix mat;
|
||||||
|
|
||||||
CalcLocalTransform(newPos, newDir, pov->GetWorldUp(), mat);
|
CalcLocalTransform(newPos, newDir, pov->GetWorldUp(), mat);
|
||||||
((TimeROI*) pov)->FUN_100a9b40(mat, Timer()->GetTime());
|
((TimeROI*) pov)->CalculateWorldVelocity(mat, Timer()->GetTime());
|
||||||
pov->WrappedSetLocal2WorldWithWorldDataUpdate(mat);
|
pov->WrappedSetLocal2WorldWithWorldDataUpdate(mat);
|
||||||
m_lego3DView->Moved(*pov);
|
m_lego3DView->Moved(*pov);
|
||||||
|
|
||||||
|
|||||||
@@ -755,7 +755,7 @@ TimeROI::TimeROI(Tgl::Renderer* p_renderer, ViewLODList* p_lodList, LegoTime p_t
|
|||||||
|
|
||||||
// FUNCTION: LEGO1 0x100a9b40
|
// FUNCTION: LEGO1 0x100a9b40
|
||||||
// FUNCTION: BETA10 0x1018bbf0
|
// FUNCTION: BETA10 0x1018bbf0
|
||||||
void TimeROI::FUN_100a9b40(Matrix4& p_matrix, LegoTime p_time)
|
void TimeROI::CalculateWorldVelocity(Matrix4& p_matrix, LegoTime p_time)
|
||||||
{
|
{
|
||||||
LegoTime time = p_time - m_time;
|
LegoTime time = p_time - m_time;
|
||||||
|
|
||||||
|
|||||||
@@ -109,7 +109,7 @@ class TimeROI : public LegoROI {
|
|||||||
public:
|
public:
|
||||||
TimeROI(Tgl::Renderer* p_renderer, ViewLODList* p_lodList, LegoTime p_time);
|
TimeROI(Tgl::Renderer* p_renderer, ViewLODList* p_lodList, LegoTime p_time);
|
||||||
|
|
||||||
void FUN_100a9b40(Matrix4& p_matrix, LegoTime p_time);
|
void CalculateWorldVelocity(Matrix4& p_matrix, LegoTime p_time);
|
||||||
|
|
||||||
// SYNTHETIC: LEGO1 0x100a9ad0
|
// SYNTHETIC: LEGO1 0x100a9ad0
|
||||||
// SYNTHETIC: BETA10 0x1018c540
|
// SYNTHETIC: BETA10 0x1018c540
|
||||||
|
|||||||
Reference in New Issue
Block a user