EMI/GRIM: Rename getBoundingBoxPos to getScreenBoundingBox to better describe the behavior.
This commit is contained in:
parent
bed29f07b3
commit
60fa48490e
9 changed files with 16 additions and 16 deletions
|
@ -357,7 +357,7 @@ static void glShadowProjection(const Math::Vector3d &light, const Math::Vector3d
|
|||
glMultMatrixf((GLfloat *)mat);
|
||||
}
|
||||
|
||||
void GfxOpenGL::getBoundingBoxPos(const Mesh *model, int *x1, int *y1, int *x2, int *y2) {
|
||||
void GfxOpenGL::getScreenBoundingBox(const Mesh *model, int *x1, int *y1, int *x2, int *y2) {
|
||||
if (_currentShadowArray) {
|
||||
*x1 = -1;
|
||||
*y1 = -1;
|
||||
|
@ -428,7 +428,7 @@ void GfxOpenGL::getBoundingBoxPos(const Mesh *model, int *x1, int *y1, int *x2,
|
|||
*y2 = (int)bottom;
|
||||
}
|
||||
|
||||
void GfxOpenGL::getBoundingBoxPos(const EMIModel *model, int *x1, int *y1, int *x2, int *y2) {
|
||||
void GfxOpenGL::getScreenBoundingBox(const EMIModel *model, int *x1, int *y1, int *x2, int *y2) {
|
||||
if (_currentShadowArray) {
|
||||
*x1 = -1;
|
||||
*y1 = -1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue