mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-22 15:48:09 -05:00
Implement Lego3DView::Render (#470)
* Implement Lego3DView::Render
* use MxDouble
* Revert "use MxDouble"
This reverts commit a006b60e20
.
This commit is contained in:
parent
46ad567760
commit
1c612a2d25
3 changed files with 10 additions and 7 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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'
|
||||
|
|
Loading…
Reference in a new issue