Support drawing textures without doing any clipping.

This commit is contained in:
King_DuckZ 2014-03-25 10:32:34 +01:00
parent 0674f2d28d
commit 79fbf0faf7
4 changed files with 29 additions and 10 deletions

View file

@ -36,8 +36,8 @@ namespace cloonel {
void Reload ( void );
void Destroy ( void ) noexcept;
bool IsLoaded ( void ) const { return nullptr != m_texture; }
void Render ( const float2& parPos, const float2& parScaling ) const { Render(parPos, m_size, parScaling); }
void Render ( const float2& parPos, const float2& parSize, const float2& parScaling ) const;
void Render ( const float2& parPos, const float2& parScaling, bool parClip ) const { Render(parPos, m_size, parScaling, parClip); }
void Render ( const float2& parPos, const float2& parSize, const float2& parScaling, bool parClip ) const;
const SDLMain* SDLObject ( void ) const { return m_sdlmain; }
private: