Split ModelView matrix stack into View and World stacks.

Add "hallway" and "distant" mods.
This commit is contained in:
Chris Danford
2003-09-21 02:36:28 +00:00
parent c93b1592c2
commit c8f7c02036
13 changed files with 205 additions and 127 deletions
+3 -3
View File
@@ -184,7 +184,7 @@ void DancingCharacters::Update( float fDelta )
void DancingCharacters::DrawPrimitives()
{
DISPLAY->EnterPerspective( 45, false );
DISPLAY->CameraPushMatrix();
float fPercentIntoSweep;
if(m_fThisCameraStartBeat == m_fThisCameraEndBeat)
@@ -200,7 +200,7 @@ void DancingCharacters::DrawPrimitives()
RageVector3 m_LookAt( 0, m_fLookAtHeight, 0 );
DISPLAY->LookAt(
DISPLAY->LoadLookAt( 45,
m_CameraPoint,
m_LookAt,
RageVector3(0,1,0) );
@@ -232,5 +232,5 @@ void DancingCharacters::DrawPrimitives()
}
DISPLAY->ExitPerspective();
DISPLAY->CameraPopMatrix();
}