remove; access the texture directly
This commit is contained in:
@@ -880,10 +880,6 @@ void Sprite::StretchTexCoords( float fX, float fY )
|
|||||||
SetCustomTextureCoords( fTexCoords );
|
SetCustomTextureCoords( fTexCoords );
|
||||||
}
|
}
|
||||||
|
|
||||||
void Sprite::SetPosition( float f ) { GetTexture()->SetPosition( f ); }
|
|
||||||
void Sprite::SetLooping( bool b ) { GetTexture()->SetLooping( b ); }
|
|
||||||
void Sprite::SetPlaybackRate( float f ) { GetTexture()->SetPlaybackRate( f ); }
|
|
||||||
|
|
||||||
|
|
||||||
// lua start
|
// lua start
|
||||||
#include "LuaBinding.h"
|
#include "LuaBinding.h"
|
||||||
|
|||||||
@@ -52,10 +52,6 @@ public:
|
|||||||
void StopUsingCustomCoords();
|
void StopUsingCustomCoords();
|
||||||
void GetActiveTextureCoords(float fTexCoordsOut[8]) const;
|
void GetActiveTextureCoords(float fTexCoordsOut[8]) const;
|
||||||
void StretchTexCoords( float fX, float fY );
|
void StretchTexCoords( float fX, float fY );
|
||||||
void SetPosition( float f );
|
|
||||||
void SetLooping( bool b );
|
|
||||||
void SetPlaybackRate( float f );
|
|
||||||
|
|
||||||
|
|
||||||
void SetTexCoordVelocity(float fVelX, float 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
|
||||||
|
|||||||
Reference in New Issue
Block a user