摘要: LTexture.cpp void LTexture::render( GLfloat x, GLfloat y, LFRect* clip ){ if( mTextureID != 0 ) { GLfloat texTop = 0.f; GLfloat texBottom = (GLfloat)m 阅读全文
posted @ 2017-11-28 17:57 yongfengnice 阅读(251) 评论(0) 推荐(0)
摘要: LTexture.cpp void LTexture::render( GLfloat x, GLfloat y, LFRect* clip, LFRect* stretch, GLfloat degrees ){ if( mTextureID != 0 ) { glLoadIdentity(); 阅读全文
posted @ 2017-11-28 16:22 yongfengnice 阅读(191) 评论(0) 推荐(0)
摘要: LTexture.hvoid render( GLfloat x, GLfloat y, LFRect* clip = NULL, LFRect* stretch = NULL ); LTexture.cpp void LTexture::render( GLfloat x, GLfloat y, 阅读全文
posted @ 2017-11-28 16:02 yongfengnice 阅读(346) 评论(0) 推荐(0)
摘要: LTexture.h bool loadPixelsFromFile( std::string path );bool loadTextureFromFileWithColorKey( std::string path, GLubyte r, GLubyte g, GLubyte b, GLubyt 阅读全文
posted @ 2017-11-28 11:55 yongfengnice 阅读(170) 评论(0) 推荐(0)