Fixed a typo.

Fixed cSprite::GetAABB.
This commit is contained in:
Martín Lucas Golini
2013-11-17 02:07:17 -03:00
parent 4bb1d7352c
commit 53686497b6
2 changed files with 2 additions and 2 deletions

View File

@@ -110,7 +110,7 @@ class EE_API cEngine {
ContextSettings CreateContextSettings( cIniFile * ini, std::string iniKeyName = "EEPP" );
/** Enabling Shared GL Context allows asynchronous OpenGL resource loading ( only if is supported by the backend, SDL 2 backend is the only one supported ).
** If the cTextureLoader is threaded, will upload the texture un another thread to the GPU. So, it will not block the main rendering thread.
** If the cTextureLoader is threaded, will upload the texture in another thread to the GPU. So, it will not block the main rendering thread.
** Shared GL Context is disabled by default.
*/
void EnableSharedGLContext();

View File

@@ -293,7 +293,7 @@ eeAABB cSprite::GetAABB() {
} else if ( mOrigin.OriginType == eeOriginPoint::OriginTopLeft ) {
Center = mPos;
} else {
Center += mPos;
Center = mPos + mOrigin;
}
TmpR.Scale( mScale, Center );