Implement Lego3DView::Render (#470)

* Implement Lego3DView::Render

* use MxDouble

* Revert "use MxDouble"

This reverts commit a006b60e20.
This commit is contained in:
Misha 2024-01-20 15:43:53 -05:00 committed by GitHub
parent 46ad567760
commit 1c612a2d25
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 10 additions and 7 deletions

View file

@ -138,15 +138,12 @@ BOOL Lego3DView::Moved(ViewROI& rROI)
return TRUE;
}
// STUB: LEGO1 0x100ab270
// FUNCTION: LEGO1 0x100ab270
double Lego3DView::Render(double p_und)
{
// assert(m_pViewManager);
// m_pViewManager->Update(m_previousRenderTime);
// m_previousRenderTime = LegoView1::Render();
assert(m_pViewManager);
m_pViewManager->Update(m_previousRenderTime, p_und);
m_previousRenderTime = TglSurface::Render();
return m_previousRenderTime;
}

View file

@ -16,6 +16,11 @@ void ViewManager::RemoveAll(ViewROI*)
// TODO
}
// STUB: LEGO1 0x100a6930
void ViewManager::Update(float p_previousRenderTime, float p_und2)
{
}
// STUB: LEGO1 0x100a6d50
void ViewManager::SetResolution(int width, int height)
{

View file

@ -15,6 +15,7 @@ class ViewManager {
void SetPOVSource(const OrientableROI* point_of_view);
void SetResolution(int width, int height);
void SetFrustrum(float fov, float front, float back);
void Update(float p_previousRenderTime, float p_und2);
// SYNTHETIC: LEGO1 0x100a6000
// ViewManager::`scalar deleting destructor'