Implement Lego3DView::Render

This commit is contained in:
Misha
2024-01-20 14:57:13 -05:00
parent ea5f9b4886
commit 9a77a2a10b
3 changed files with 10 additions and 7 deletions

View File

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

View File

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

View File

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