EMI: removed unnecessary comments, made getBoundingBox const

This commit is contained in:
sietschie 2013-12-12 14:46:53 +01:00
parent 98e9b41010
commit d06762ec52
5 changed files with 3 additions and 16 deletions

View file

@ -442,13 +442,7 @@ void GfxOpenGL::getBoundingBoxPos(const EMIModel *model, int *x1, int *y1, int *
return;
}
//*x1 = (int)left;
//*y1 = (int)top;
//*x2 = (int)right;
//*y2 = (int)bottom;
//TODO: For some reasons the x axis needs to be flipped to get the correct positioned texts?
*x1 = (int)left;
*x1 = (int)left;
*y1 = (int)(_gameHeight - bottom);
*x2 = (int)right;
*y2 = (int)(_gameHeight - top);