add support for texture coordinate animation in AnimatedTexture
This commit is contained in:
@@ -350,6 +350,7 @@ public:
|
||||
MatrixStack g_ProjectionStack;
|
||||
MatrixStack g_ViewStack;
|
||||
MatrixStack g_WorldStack;
|
||||
MatrixStack g_TextureStack;
|
||||
|
||||
const RageMatrix* RageDisplay::GetProjectionTop()
|
||||
{
|
||||
@@ -366,6 +367,11 @@ const RageMatrix* RageDisplay::GetWorldTop()
|
||||
return g_WorldStack.GetTop();
|
||||
}
|
||||
|
||||
const RageMatrix* RageDisplay::GetTextureTop()
|
||||
{
|
||||
return g_TextureStack.GetTop();
|
||||
}
|
||||
|
||||
void RageDisplay::PushMatrix()
|
||||
{
|
||||
g_WorldStack.Push();
|
||||
@@ -421,6 +427,23 @@ void RageDisplay::LoadIdentity()
|
||||
g_WorldStack.LoadIdentity();
|
||||
}
|
||||
|
||||
|
||||
void RageDisplay::TexturePushMatrix()
|
||||
{
|
||||
g_TextureStack.Push();
|
||||
}
|
||||
|
||||
void RageDisplay::TexturePopMatrix()
|
||||
{
|
||||
g_TextureStack.Pop();
|
||||
}
|
||||
|
||||
void RageDisplay::TextureTranslate( float x, float y, float z )
|
||||
{
|
||||
g_TextureStack.TranslateLocal(x, y, z);
|
||||
}
|
||||
|
||||
|
||||
void RageDisplay::LoadMenuPerspective( float fovDegrees, float fVanishPointX, float fVanishPointY )
|
||||
{
|
||||
/* fovDegrees == 0 looks the same as an ortho projection. However,
|
||||
|
||||
Reference in New Issue
Block a user