cleanup
This commit is contained in:
@@ -798,6 +798,11 @@ void Sprite::StopUsingCustomCoords()
|
|||||||
m_bUsingCustomTexCoords = false;
|
m_bUsingCustomTexCoords = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Sprite::SetTexCoordVelocity(float fVelX, float fVelY)
|
||||||
|
{
|
||||||
|
m_fTexCoordVelocityX = fVelX;
|
||||||
|
m_fTexCoordVelocityY = fVelY;
|
||||||
|
}
|
||||||
|
|
||||||
void Sprite::ScaleToClipped( float fWidth, float fHeight )
|
void Sprite::ScaleToClipped( float fWidth, float fHeight )
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -61,7 +61,7 @@ public:
|
|||||||
void SetPlaybackRate( float f );
|
void SetPlaybackRate( float f );
|
||||||
|
|
||||||
|
|
||||||
void SetTexCoordVelocity(float fVelX, float fVelY) { m_fTexCoordVelocityX = fVelX; m_fTexCoordVelocityY = fVelY; }
|
void SetTexCoordVelocity(float fVelX, float fVelY);
|
||||||
// Scale the Sprite maintaining the aspect ratio so that it fits
|
// Scale the Sprite maintaining the aspect ratio so that it fits
|
||||||
// within (fWidth,fHeight) and is clipped to (fWidth,fHeight).
|
// within (fWidth,fHeight) and is clipped to (fWidth,fHeight).
|
||||||
void ScaleToClipped( float fWidth, float fHeight );
|
void ScaleToClipped( float fWidth, float fHeight );
|
||||||
|
|||||||
Reference in New Issue
Block a user